TECHZEN Zenoss User Community ARCHIVE  

ZenPacks.community.VMwareESXiMonitor not working with Zenoss 4.2.5

Subject: ZenPacks.community.VMwareESXiMonitor not working with Zenoss 4.2.5
Author: [Not Specified]
Posted: 2014-12-03 04:47

ZenPacks.community.VMwareESXiMonitor doesn't work, return "No data returned for command"

[zenoss@localhost tmp]$ zendmd
>>> version()
Zenoss: Zenoss 4.2.5
OS: Linux (x86_64) 2.6.18 (Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64)
Zope: Zope 2.13.13
Python: Python 2.7.2
Database: MySQL 5.5.13 (5.5.13)
RRD: RRDtool 1.4.7
Twisted: Twisted 11.0.0
RabbitMQ: RabbitMQ 2.8.6
Erlang: Erlang 5.6.5
NetSnmp: NetSnmp 5.3.2
PyNetSnmp: PyNetSnmp 0.30.7
DMD: Zenoss 4.2.5
>>>

[zenoss@localhost tmp]$ cat /etc/*-release
CentOS release 5.4 (Final)
[zenoss@localhost tmp]$ cat /proc/version
Linux version 2.6.18-164.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Sep 3 03:28:30 EDT 2009

VMware SDK version:
VMware-vSphere-CLI-5.1.0-780721.x86_64.tar.gz

Resource: 10.220.33.50
Component:
Event Class: /Cmd/Fail
Status: New
Message: No data returned for command

[zenoss@localhost tmp]$ zencommand run -v10 --showfullcommand
2014-12-03 09:07:00,071 DEBUG zen.zencommand: Starting PBDaemon initialization
2014-12-03 09:07:00,071 INFO zen.zencommand: Connecting to localhost:8789
2014-12-03 09:07:00,072 DEBUG zen.pbclientfactory: Starting connection...
2014-12-03 09:07:00,072 DEBUG zen.zencommand: Logging in as admin
2014-12-03 09:07:00,073 DEBUG zen.pbclientfactory: Connected
2014-12-03 09:07:00,073 DEBUG zen.pbclientfactory: Cancelling connect timeout
2014-12-03 09:07:00,073 DEBUG zen.pbclientfactory: Sending credentials
2014-12-03 09:07:00,075 DEBUG zen.pbclientfactory: Cancelling connect timeout
2014-12-03 09:07:00,075 INFO zen.zencommand: Connected to ZenHub
2014-12-03 09:07:00,075 DEBUG zen.zencommand: Setting up initial services: EventService, Products.ZenHub.services.CommandPerformanceConfig
2014-12-03 09:07:00,076 DEBUG zen.zencommand: Chaining getInitialServices with d2
2014-12-03 09:07:00,077 DEBUG zen.zencommand: Loaded service EventService from zenhub
2014-12-03 09:07:00,077 DEBUG zen.zencommand: Loaded service Products.ZenHub.services.CommandPerformanceConfig from zenhub
2014-12-03 09:07:00,077 DEBUG zen.zencommand: Queued event (total of 1) {'rcvtime': 1417615620.077528, 'severity': 0, 'component': 'zencommand', 'agent': 'zencommand', 'summary': 'started', 'manager': 'localhost.localdomain', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2014-12-03 09:07:00,082 DEBUG zen.zencommand: Sending 1 events, 0 perf events, 0 heartbeats
2014-12-03 09:07:00,083 DEBUG zen.zencommand: Calling connected.
2014-12-03 09:07:00,083 DEBUG zen.collector.config: Heartbeat timeout set to 900s
2014-12-03 09:07:00,083 DEBUG zen.collector.scheduler: add task configLoader, using 1200 second interval
2014-12-03 09:07:00,083 DEBUG zen.zencommand: Performing periodic maintenance
2014-12-03 09:07:00,084 DEBUG zen.collector.scheduler: Task configLoader starting (waited 0 seconds) on 1200 second intervals
2014-12-03 09:07:00,084 DEBUG zen.collector.scheduler: Task configLoader changing state from IDLE to QUEUED
2014-12-03 09:07:00,084 DEBUG zen.collector.scheduler: Task configLoader changing state from QUEUED to RUNNING
2014-12-03 09:07:00,084 DEBUG zen.collector.config: configLoader gathering configuration
2014-12-03 09:07:00,084 DEBUG zen.collector.config: Fetching daemon configuration properties
2014-12-03 09:07:00,116 DEBUG zen.collector.scheduler: Task configLoader changing state from RUNNING to FETCHING_MISC_CONFIG
2014-12-03 09:07:00,117 DEBUG zen.zencommand: Updated configCycleInterval preference to 360
2014-12-03 09:07:00,117 DEBUG zen.zencommand: Changing config task interval from 20 to 360 minutes
2014-12-03 09:07:00,117 DEBUG zen.collector.scheduler: Stopping task configLoader,
2014-12-03 09:07:00,117 DEBUG zen.collector.scheduler: call finished LoopingCall<1200>(CallableTask: configLoader, *(), **{}) : LoopingCall<1200>(CallableTask: configLoader, *(), **{})
2014-12-03 09:07:00,118 INFO zen.collector.scheduler: Detailed Task Statistics:
configLoader Current State: FETCHING_MISC_CONFIG Successful_Runs: 1 Failed_Runs: 0 Missed_Runs: 0

Detailed Task States:
configLoader State: RUNNING Total: 1 Total Elapsed: 0.0325 Min: 0.0325 Max: 0.0325 Mean: 0.0325 StdDev: 0.0000
configLoader State: QUEUED Total: 1 Total Elapsed: 0.0004 Min: 0.0004 Max: 0.0004 Mean: 0.0004 StdDev: 0.0000

2014-12-03 09:07:00,118 DEBUG zen.collector.config: Heartbeat timeout set to 900s
2014-12-03 09:07:00,118 DEBUG zen.collector.scheduler: add task configLoader, using 21600 second interval
2014-12-03 09:07:00,119 DEBUG zen.zencommand: Updated defaultRRDCreateCommand preference to ('RRA:AVERAGE:0.5:1:600', 'RRA:AVERAGE:0.5:6:600', 'RRA:AVERAGE:0.5:24:600', 'RRA:AVERAGE:0.5:288:600', 'RRA:MAX:0.5:6:600', 'RRA:MAX:0.5:24:600', 'RRA:MAX:0.5:288:600')
2014-12-03 09:07:00,120 DEBUG zen.collector.config: Fetching threshold classes
2014-12-03 09:07:00,133 DEBUG zen.zencommand: Loading classes ['Products.ZenModel.MinMaxThreshold', 'Products.ZenModel.ValueChangeThreshold']
2014-12-03 09:07:00,134 DEBUG zen.collector.config: Fetching collector thresholds
2014-12-03 09:07:00,209 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost collector', ''))
2014-12-03 09:07:00,209 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost collector', ''))
2014-12-03 09:07:00,209 DEBUG zen.collector.config: Fetching configurations
2014-12-03 09:07:00,291 DEBUG zen.zencommand: updateDeviceConfigs: updatedConfigs=['10.220.33.50']
2014-12-03 09:07:00,291 DEBUG zen.zencommand: Processing configuration for 10.220.33.50
2014-12-03 09:07:00,292 DEBUG zen.daemon: DummyListener: configuration 10.220.33.50 added
2014-12-03 09:07:00,292 DEBUG zen.collector.tasks: Splitting config 10.220.33.50
2014-12-03 09:07:00,292 DEBUG zen.zencommand: Tasks for config 10.220.33.50: {'10.220.33.50 300 Local': <__main__.SshPerformanceCollectionTask object at 0xe096890>}
2014-12-03 09:07:00,293 DEBUG zen.collector.scheduler: add task 10.220.33.50 300 Local, COMMAND schedule Name: 10.220.33.50 300 Local configId: 10.220.33.50 Datasources: 1 using 300 second interval
2014-12-03 09:07:00,293 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local starting (waited 0 seconds) on 300 second intervals
2014-12-03 09:07:00,293 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local changing state from IDLE to QUEUED
2014-12-03 09:07:00,294 DEBUG zen.zencommand: purgeOmittedDevices: deletedConfigs=
2014-12-03 09:07:00,294 DEBUG zen.collector.scheduler: Task configLoader finished, result: 'Configuration loaded'
2014-12-03 09:07:00,295 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local changing state from QUEUED to RUNNING
2014-12-03 09:07:00,295 DEBUG zen.zencommand: Running command(s) locally
2014-12-03 09:07:00,295 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local changing state from RUNNING to FETCH_DATA
2014-12-03 09:07:00,296 INFO zen.zencommand: Datasource ESXiHost/VMwareHost command: /usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1
2014-12-03 09:07:00,296 DEBUG zen.zencommand: Running /usr/bin/perl
2014-12-03 09:07:00,605 DEBUG zen.zencommand: Datasource: VMwareHost Received exit code: 0 Output:
''
Standard Error:
"Server version unavailable at 'https://10.220.33.50:443/sdk/vimService.wsdl' at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545.\n\n"
2014-12-03 09:07:00,606 DEBUG zen.zencommand: Process ESXiHost/VMwareHost stopped (0), 0.30 seconds elapsed
2014-12-03 09:07:00,607 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local changing state from FETCH_DATA to PARSING_DATA
2014-12-03 09:07:00,607 WARNING zen.zencommand: 10.220.33.50 300 Local ESXiHost/VMwareHost No data returned for command: /usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1
2014-12-03 09:07:00,607 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local changing state from PARSING_DATA to STORE_PERF_DATA
2014-12-03 09:07:00,608 DEBUG zen.zencommand: Queued event (total of 1) {'rcvtime': 1417615620.608342, 'device_guid': 'c0d5c679-5f2c-4b3a-abfa-8d188b62a7ae', 'component': '', 'agent': 'zencommand', 'manager': 'localhost.localdomain', 'device': '10.220.33.50', 'eventClass': '/Cmd/Fail', 'severity': 0, 'monitor': 'localhost', 'summary': 'Datasource ESXiHost/VMwareHost command timed out', 'eventKey': 'Timeout'}
2014-12-03 09:07:00,609 DEBUG zen.zencommand: Queued event (total of 2) {'rcvtime': 1417615620.608983, 'monitor': 'localhost', 'component': '', 'agent': 'zencommand', 'summary': "No data returned for command: /usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1", 'manager': 'localhost.localdomain', 'command': "/usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1", 'eventKey': 'VMwareHost', 'device': '10.220.33.50', 'eventClass': '/Cmd/Fail', 'device_guid': 'c0d5c679-5f2c-4b3a-abfa-8d188b62a7ae', 'severity': 3}
2014-12-03 09:07:00,609 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local finished, result: [(, ParsedResults
events: [{'component': '',
'device': '10.220.33.50',
'eventClass': '/Cmd/Fail',
'eventKey': 'Timeout',
'severity': 0,
'summary': 'Datasource ESXiHost/VMwareHost command timed out'},
{'command': "/usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1",
'component': '',
'device': '10.220.33.50',
'eventClass': '/Cmd/Fail',
'eventKey': 'VMwareHost',
'severity': 3,
'summary': "No data returned for command: /usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1"}]
values: []})]
2014-12-03 09:07:00,613 DEBUG zen.collector.scheduler: Task 10.220.33.50 300 Local changing state from STORE_PERF_DATA to IDLE
2014-12-03 09:07:00,613 INFO zen.zencommand: 1 devices processed (0 datapoints)
2014-12-03 09:07:00,614 INFO zen.collector.scheduler: Tasks: 2 Successful_Runs: 1 Failed_Runs: 0 Missed_Runs: 0 Queued_Tasks: 0 Running_Tasks: 1
2014-12-03 09:07:00,614 DEBUG zen.collector.scheduler: In shutdown stage before
2014-12-03 09:07:00,614 DEBUG zen.collector.scheduler: Stopping running task 10.220.33.50 300 Local
2014-12-03 09:07:00,615 DEBUG zen.collector.scheduler: call finished LoopingCall<300>(CallableTask: 10.220.33.50 300 Local, *(), **{}) : LoopingCall<300>(CallableTask: 10.220.33.50 300 Local, *(), **{})
2014-12-03 09:07:00,615 DEBUG zen.collector.scheduler: Removing task 10.220.33.50 300 Local
2014-12-03 09:07:00,615 DEBUG zen.collector.scheduler: Removing task configLoader
2014-12-03 09:07:00,616 DEBUG zen.collector.scheduler: tasks to clean KeyedSet([<__main__.SshPerformanceCollectionTask object at 0xe096890>, , ])
2014-12-03 09:07:00,616 DEBUG zen.collector.scheduler: Cleanup on task 10.220.33.50 300 Local COMMAND schedule Name: 10.220.33.50 300 Local configId: 10.220.33.50 Datasources: 1
2014-12-03 09:07:00,616 DEBUG zen.collector.scheduler: Scheduler._cleanupTaskComplete: result=None task.name=10.220.33.50 300 Local
2014-12-03 09:07:00,617 DEBUG zen.collector.scheduler: Cleanup on task configLoader
2014-12-03 09:07:00,617 DEBUG zen.collector.scheduler: Scheduler._cleanupTaskComplete: result=None task.name=configLoader
2014-12-03 09:07:00,617 DEBUG zen.collector.scheduler: Cleanup on task configLoader
2014-12-03 09:07:00,617 DEBUG zen.collector.scheduler: Scheduler._cleanupTaskComplete: result=None task.name=configLoader
2014-12-03 09:07:00,618 DEBUG zen.zencommand: Tried to stop reactor that was stopped
2014-12-03 09:07:00,618 INFO zen.zencommand: Daemon CollectorDaemon shutting down
2014-12-03 09:07:00,619 DEBUG zen.zencommand: Sending 2 events, 0 perf events, 0 heartbeats
2014-12-03 09:07:00,642 DEBUG zen.zencommand: Removing service EventService
2014-12-03 09:07:00,643 DEBUG zen.zencommand: Removing service Products.ZenHub.services.CommandPerformanceConfig
2014-12-03 09:07:00,643 DEBUG zen.pbclientfactory: Lost connection to 127.0.0.1:8789 - [Failure instance: Traceback (failure with no frames): : Connection to the other side was lost in a non-clean fashion: Connection lost.
]
2014-12-03 09:07:00,643 DEBUG zen.collector.scheduler: In shutdown stage during
2014-12-03 09:07:00,644 DEBUG zen.collector.scheduler: In shutdown stage after
[zenoss@localhost tmp]$ date
Wed Dec 3 09:08:37 EST 2014
[zenoss@localhost tmp]$

I found the command failed in the log, so i run the command again.

[zenoss@localhost tmp]$ /usr/bin/perl /opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg/ZenPacks/community/VMwareESXiMonitor/libexec/esxi_monitor.pl --server 10.220.33.50 --username root --password 'xxxxxx' --options 'hostperf:None' | tail -n1
Server version unavailable at 'https://10.220.33.50:443/sdk/vimService.wsdl' at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545.

[zenoss@localhost tmp]$ wget https://10.220.33.50:443/sdk/vimService.wsdl
--2014-12-03 09:15:24-- https://10.220.33.50/sdk/vimService.wsdl
Connecting to 10.220.33.50:443... connected.
ERROR: cannot verify 10.220.33.50's certificate, issued by `/O=VMware Installer':
Unable to locally verify the issuer's authority.
ERROR: certificate common name `localhost.localdomain' doesn't match requested host name `10.220.33.50'.
To connect to 10.220.33.50 insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
[zenoss@localhost tmp]$
[zenoss@localhost tmp]$
[zenoss@localhost tmp]$ wget https://10.220.33.50:443/sdk/vimService.wsdl --no-check-certificate
--2014-12-03 09:16:09-- https://10.220.33.50/sdk/vimService.wsdl
Connecting to 10.220.33.50:443... connected.
WARNING: cannot verify 10.220.33.50's certificate, issued by `/O=VMware Installer':
Unable to locally verify the issuer's authority.
WARNING: certificate common name `localhost.localdomain' doesn't match requested host name `10.220.33.50'.
HTTP request sent, awaiting response... 200 OK
Length: 545 [text/xml]
vimService.wsdl: Permission denied

Cannot write to `vimService.wsdl' (Success).
[zenoss@localhost tmp]$

permission deny, i run it again use root.

[zenoss@localhost tmp]$ su
Password:
[root@localhost tmp]# sudo wget https://10.220.33.50:443/sdk/vimService.wsdl --no-check-certificate
--2014-12-03 09:16:52-- https://10.220.33.50/sdk/vimService.wsdl
Connecting to 10.220.33.50:443... connected.
WARNING: cannot verify 10.220.33.50's certificate, issued by `/O=VMware Installer':
Unable to locally verify the issuer's authority.
WARNING: certificate common name `localhost.localdomain' doesn't match requested host name `10.220.33.50'.
HTTP request sent, awaiting response... 200 OK
Length: 545 [text/xml]
Saving to: `vimService.wsdl'

100%[==================================================================================================================================>] 545 --.-K/s in 0s

2014-12-03 09:16:52 (57.8 MB/s) - `vimService.wsdl' saved [545/545]

[root@localhost tmp]# ll
total 3084
-rw-r--r-- 1 root root 3145732 Nov 30 10:16 openwrt-ar71xx-generic-tl-wr2543-v1-squashfs-sysupgrade.bin
-rw-r--r-- 1 root root 545 Dec 3 09:16 vimService.wsdl
[root@localhost tmp]# cat vimService.wsdl


xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:interface="urn:vim25"
>



https://localhost/sdk/vimService" />



[root@localhost tmp]#

so, what's the problem for my case
is it something about CA, SSL... actually i know little about CA, SSL, i dont know how to do.

BTY, when i run resxtop in my Zenoss server, got this.
[zenoss@localhost libexec]$ resxtop --server 10.220.33.50 --user root -b -n 1 -a
root@10.220.33.50' password:
Login failed, reason: HTTPS_CA_FILE or HTTPS_CA_DIR not set.
searched from google, it said it's a CA issue, pleas see the following link.
http://blogs.vmware.com/vsphere/2012/11/resxtop-fails-to-connect-to-a-vs...

but i can run the following cmd successfully, can it prove that the vmware SDK runs well
[root@localhost ~]# esxcli --server 10.220.33.50 --username root --password xxxxxx system version get
Product: VMware ESXi
Version: 5.1.0
Build: Releasebuild-799733
Update: 0



Subject: attach the zenpack version
Author: [Not Specified]
Posted: 2014-12-03 05:14

[zenoss@localhost root]$ zenpack --list
ZenPacks.community.VMwareDataSource (/opt/zenoss/ZenPacks/ZenPacks.community.VMwareDataSource-1.1.2.egg)
ZenPacks.community.VMwareESXiMonitor (/opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg)
ZenPacks.zenoss.ApacheMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.4-py2.7.egg)
ZenPacks.zenoss.DellMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DellMonitor-2.2.0-py2.7.egg)
ZenPacks.zenoss.DeviceSearch (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.0-py2.7.egg)
ZenPacks.zenoss.DigMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DigMonitor-1.1.0-py2.7.egg)
ZenPacks.zenoss.DnsMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.DnsMonitor-2.1.0-py2.7.egg)
ZenPacks.zenoss.EsxTop (/opt/zenoss/ZenPacks/ZenPacks.zenoss.EsxTop-1.1.0-py2.7.egg)
ZenPacks.zenoss.FtpMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.FtpMonitor-1.1.0-py2.7.egg)
ZenPacks.zenoss.HPMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.HPMonitor-2.1.0-py2.7.egg)
ZenPacks.zenoss.HttpMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.1.0-py2.7.egg)
ZenPacks.zenoss.IRCDMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.IRCDMonitor-1.1.0-py2.7.egg)
ZenPacks.zenoss.JabberMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.JabberMonitor-1.1.0-py2.7.egg)
ZenPacks.zenoss.LDAPMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.LDAPMonitor-1.4.0-py2.7.egg)
ZenPacks.zenoss.LinuxMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-1.2.1-py2.7.egg)
ZenPacks.zenoss.Microsoft.Windows (/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.0.2-py2.7.egg)
ZenPacks.zenoss.MySqlMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.MySqlMonitor-3.0.0-py2.7.egg)
ZenPacks.zenoss.NNTPMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.NNTPMonitor-1.1.0-py2.7.egg)
ZenPacks.zenoss.NtpMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.2.0-py2.7.egg)
ZenPacks.zenoss.PythonCollector (/opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.2.0-py2.7.egg)
ZenPacks.zenoss.XenMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.XenMonitor-1.1.0-py2.7.egg)
ZenPacks.zenoss.ZenJMX (/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.9.6-py2.7.egg)
ZenPacks.zenoss.ZenossVirtualHostMonitor (/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor-2.4.0-py2.7.egg)
[zenoss@localhost root]$

at present, i mainly use this one.
ZenPacks.community.VMwareESXiMonitor (/opt/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-2.0.1.egg)



Subject: It looks like an unsigned
Author: Andrew Kirch
Posted: 2014-12-08 16:01

It looks like an unsigned cert might be giving you grief.
1: PLEASE ASAP REMOVE YOUR ROOT PASSWORD FROM THE ABOVE POST!
2: https://www.linux.com/learn/docs/ldp/724-SSL-Certificates-HOWTO#AEN160

Good luck!

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: thanks man, great help for me
Author: [Not Specified]
Posted: 2014-12-08 23:52

thanks man, great help for me.



Subject: glad I could help!
Author: Andrew Kirch
Posted: 2014-12-09 15:40

glad I could help!

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: So i've the same problems but
Author: [Not Specified]
Posted: 2014-12-23 10:07

So i've the same problems but before i've certain data for exemple i've no graph,... However i can see Datastore, VM, and Interfaces,... the other data impossible to view !



Subject: Sounds like you were able to
Author: Matt
Posted: 2014-12-29 18:56

Sounds like you were able to model the device (hence you can see all the components), but the monitoring doesn't work.

Please run the following command as the zenoss user:
zencommand run -v10 --device= --showfullcommand --showrawresults

Look for the results of the scripts (should include the performance data) and the RRD Tool dumping the data into the RRD Files.

Let me know if that works or if you can see any errors.

Thanks.



Subject: In fact i've different
Author: [Not Specified]
Posted: 2015-01-06 10:08

Sorry for the waiting !

In fact i've different version of OS ESXi, Hosts have problems have version (5.5.0 1331820)

Hosts ok : version (5.5.0 1746018)

So your command on a host which doesn't work :

2015-01-06 16:25:13,911 DEBUG zen.zencommand: Starting PBDaemon initialization
2015-01-06 16:25:13,913 INFO zen.zencommand: Connecting to localhost:8789
2015-01-06 16:25:13,916 DEBUG zen.pbclientfactory: Starting connection...
2015-01-06 16:25:13,916 DEBUG zen.zencommand: Logging in as admin
2015-01-06 16:25:13,920 DEBUG zen.pbclientfactory: Connected
2015-01-06 16:25:13,920 DEBUG zen.pbclientfactory: Cancelling connect timeout
2015-01-06 16:25:13,920 DEBUG zen.pbclientfactory: Sending credentials
2015-01-06 16:25:13,927 DEBUG zen.pbclientfactory: Cancelling connect timeout
2015-01-06 16:25:13,928 INFO zen.zencommand: Connected to ZenHub
2015-01-06 16:25:13,929 DEBUG zen.zencommand: Setting up initial services: EventService, Products.ZenHub.services.CommandPerformanceConfig
2015-01-06 16:25:13,930 DEBUG zen.zencommand: Chaining getInitialServices with d2
2015-01-06 16:25:13,931 DEBUG zen.zencommand: Loaded service EventService from zenhub
2015-01-06 16:25:13,931 DEBUG zen.zencommand: Loaded service Products.ZenHub.services.CommandPerformanceConfig from zenhub
2015-01-06 16:25:13,932 DEBUG zen.zencommand: Queued event (total of 1) {'rcvtime': 1420557913.932363, 'severity': 0, 'component': 'zencommand', 'agent': 'zencommand', 'summary': 'started', 'manager': 'vsrv-vp-zenoss', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2015-01-06 16:25:13,938 DEBUG zen.zencommand: Sending 1 events, 0 perf events, 0 heartbeats
2015-01-06 16:25:13,939 DEBUG zen.zencommand: Calling connected.
2015-01-06 16:25:13,940 DEBUG zen.collector.config: Heartbeat timeout set to 900s
2015-01-06 16:25:13,940 DEBUG zen.collector.scheduler: add task configLoader, using 1200 second interval
2015-01-06 16:25:13,941 DEBUG zen.zencommand: Performing periodic maintenance
2015-01-06 16:25:13,942 DEBUG zen.collector.scheduler: Task configLoader starting (waited 0 seconds) on 1200 second intervals
2015-01-06 16:25:13,942 DEBUG zen.collector.scheduler: Task configLoader changing state from IDLE to QUEUED
2015-01-06 16:25:13,942 DEBUG zen.collector.scheduler: Task configLoader changing state from QUEUED to RUNNING
2015-01-06 16:25:13,943 DEBUG zen.collector.config: configLoader gathering configuration
2015-01-06 16:25:13,943 DEBUG zen.collector.config: Fetching daemon configuration properties
2015-01-06 16:25:13,967 DEBUG zen.collector.scheduler: Task configLoader changing state from RUNNING to FETCHING_MISC_CONFIG
2015-01-06 16:25:13,967 DEBUG zen.zencommand: Updated configCycleInterval preference to 360
2015-01-06 16:25:13,967 DEBUG zen.zencommand: Changing config task interval from 20 to 360 minutes
2015-01-06 16:25:13,968 DEBUG zen.collector.scheduler: Stopping task configLoader,
2015-01-06 16:25:13,968 DEBUG zen.collector.scheduler: call finished LoopingCall<1200>(CallableTask: configLoader, *(), **{}) : LoopingCall<1200>(CallableTask: configLoader, *(), **{})
2015-01-06 16:25:13,968 INFO zen.collector.scheduler: Detailed Task Statistics:
configLoader Current State: FETCHING_MISC_CONFIG Successful_Runs: 1 Failed_Runs: 0 Missed_Runs: 0

Detailed Task States:
configLoader State: RUNNING Total: 1 Total Elapsed: 0.0246 Min: 0.0246 Max: 0.0246 Mean: 0.0246 StdDev: 0.0000
configLoader State: QUEUED Total: 1 Total Elapsed: 0.0005 Min: 0.0005 Max: 0.0005 Mean: 0.0005 StdDev: 0.0000

2015-01-06 16:25:13,969 DEBUG zen.collector.config: Heartbeat timeout set to 900s
2015-01-06 16:25:13,969 DEBUG zen.collector.scheduler: add task configLoader, using 21600 second interval
2015-01-06 16:25:13,969 DEBUG zen.zencommand: Updated defaultRRDCreateCommand preference to ('RRA:AVERAGE:0.5:1:600', 'RRA:AVERAGE:0.5:6:600', 'RRA:AVERAGE:0.5:24:600', 'RRA:AVERAGE:0.5:288:600', 'RRA:MAX:0.5:6:600', 'RRA:MAX:0.5:24:600', 'RRA:MAX:0.5:288:600')
2015-01-06 16:25:13,970 DEBUG zen.collector.config: Fetching threshold classes
2015-01-06 16:25:13,979 DEBUG zen.zencommand: Loading classes ['Products.ZenModel.MinMaxThreshold', 'Products.ZenModel.ValueChangeThreshold', 'ZenPacks.community.deviceAdvDetail.thresholds.StatusThreshold']
2015-01-06 16:25:13,982 DEBUG zen.collector.config: Fetching collector thresholds
2015-01-06 16:25:14,052 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost collector', ''))
2015-01-06 16:25:14,053 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost collector', ''))
2015-01-06 16:25:14,053 DEBUG zen.collector.config: Fetching configurations
2015-01-06 16:25:14,075 ERROR zen.collector.config: Configuration for 172.24.216.18 unavailable -- is that the correct name
2015-01-06 16:25:14,076 DEBUG zen.collector.scheduler: Task configLoader finished, result: 'Configuration loaded'
2015-01-06 16:25:14,076 DEBUG zen.collector.scheduler: In shutdown stage before
2015-01-06 16:25:14,076 DEBUG zen.collector.scheduler: Removing task configLoader
2015-01-06 16:25:14,076 DEBUG zen.collector.scheduler: tasks to clean KeyedSet([, ])
2015-01-06 16:25:14,077 DEBUG zen.collector.scheduler: Cleanup on task configLoader
2015-01-06 16:25:14,077 DEBUG zen.collector.scheduler: Scheduler._cleanupTaskComplete: result=None task.name=configLoader
2015-01-06 16:25:14,077 DEBUG zen.collector.scheduler: Cleanup on task configLoader
2015-01-06 16:25:14,077 DEBUG zen.collector.scheduler: Scheduler._cleanupTaskComplete: result=None task.name=configLoader
2015-01-06 16:25:14,078 DEBUG zen.zencommand: Tried to stop reactor that was stopped
2015-01-06 16:25:14,078 INFO zen.zencommand: Daemon CollectorDaemon shutting down
2015-01-06 16:25:14,081 DEBUG zen.zencommand: Removing service EventService
2015-01-06 16:25:14,081 DEBUG zen.zencommand: Removing service Products.ZenHub.services.CommandPerformanceConfig
2015-01-06 16:25:14,081 DEBUG zen.pbclientfactory: Lost connection to ::1:8789 - [Failure instance: Traceback (failure with no frames): : Connection to the other side was lost in a non-clean fashion: Connection lost.
]
2015-01-06 16:25:14,082 DEBUG zen.collector.scheduler: In shutdown stage during
2015-01-06 16:25:14,082 DEBUG zen.collector.scheduler: In shutdown stage after

On a host which work i've so many informations that displays,

like this :
[...]

'eventClass': '/Cmd/Fail',
'eventKey': 'Timeout',
'severity': 0,
'summary': 'Datasource ESXiDatastore/VMwareDatastore command timed out'}]
values: [(({}, 'diskFreeSpace'), '932710449152'), (({}, 'connectionStatus'), '1')]}), (, ParsedResults
events: [{'component': '',
'device': 'X.X.X.X',
'eventClass': '/Cmd/Fail',
'eventKey': 'Timeout',
'severity': 0,
'summary': 'Datasource ESXiHost/VMwareHost command timed out'}]
values: [(({}, 'sysUpTime'), '355687200'),
(({}, 'memSwapused'), '0'),
(({}, 'memGranted'), '15587820'),
(({}, 'memActive'), '1024180'),
(({}, 'diskUsage'), '180'),
(({}, 'cpuUsagemhz'), '454'),
(({}, 'cpuUsage'), '243'),
(({}, 'cpuReservedcapacity'), '0'),
(({}, 'netReceived'), '21'),
(({}, 'netTransmitted'), '114'),
(({}, 'netPacketsRx'), '2706'),
(({}, 'netPacketsTx'), '1934'),
(({}, 'netDroppedRx'), '0'),
(({}, 'netDroppedTx'), '0')]}), (, ParsedResults
events: [{'component': '',
'device': 'X.X.X.X',
'eventClass': '/Cmd/Fail',
'eventKey': 'Timeout',
'severity': 0,
'summary': 'Datasource ESXiDatastore/VMwareDatastore command timed out'}]
values: [(({}, 'diskFreeSpace'), '1595704082432'), (({}, 'connectionStatus'), '1')]}), (, ParsedResults
events: [{'component': '',
'device': 'X.X.X.X',
'eventClass': '/Cmd/Fail',
'eventKey': 'Timeout',
'severity': 0,
'summary': 'Datasource ESXiVM/VMwareGuest command timed out'}]
values: [(({}, 'memUsage'), '499'),
(({}, 'memOverhead'), '279580'),
(({}, 'memConsumed'), '15363748'),
(({}, 'diskUsage'), '101'),
(({}, 'cpuUsageMin'), '215'),
(({}, 'cpuUsageMax'), '215'),
(({}, 'cpuUsageAvg'), '215'),
(({}, 'cpuUsage'), '200'),
(({}, 'adminStatus'), '1'),
(({}, 'operStatus'), '1')]})]
2015-01-06 16:25:47,716 DEBUG zen.collector.scheduler: Task 1X.X.X.X 300 Local changing state from STORE_PERF_DATA to IDLE
[...]

i had also installed differents version of VMware vSphere CLI same problem !

i tired with this packages :

VMware-vSphere-CLI-5.5.0-2043780.x86_64.tar.gz

VMware-vSphere-CLI-5.5.0-1384587.x86_64.tar.gz

(actually installed) VMware-vSphere-Perl-SDK-5.5.0-1384587.x86_64.tar.gz

I found this line on host it's bad, it's here where the two results are differents

2015-01-06 16:25:14,075 ERROR zen.collector.config: Configuration for 172.24.216.18 unavailable -- is that the correct name



Subject: i will delete hosts and so i
Author: [Not Specified]
Posted: 2015-01-06 10:14

i will delete hosts and so i add the diffrent device !



Subject: No data available !
Author: [Not Specified]
Posted: 2015-01-07 03:01

No data available !



Subject: Ok so for conclure there are
Author: [Not Specified]
Posted: 2015-01-15 02:32

Ok so for conclure there are two differents problem ! On 3 hosts i must use wget command with option

--no-check-certificate for integrate the certificate without check (logon with zenoss user)

On 3 different Host DataSotreMap Command doesn't work ! :(



< Previous
WinRM Processes - process scan error: list index out of range
  Next
cpu / load / disk monitoring, improved Linux ZenPack install on
>