[root@lib-systems plugins]# ./check_vmware.pl --config=XXXXX --report=cpu --debug
Starting.
Connecting
Connected
Server Time : 2011-07-26T23:21:23.342901Z
Report type requested is [cpu]
Base is ha-folder-root
Retrieving PerfMgr data
Selected interval is: 0
Retrieving list of hosts...
Making new propertyspec
Making new filterspec from
Retrieving vim_service
Retrieving properties from VimService
Checking faults on SoapResponse
Processing entities:
ha-host
Creating query for MORef ha-host
Start time: 2011-07-26T23:16:00Z
End time : 2011-07-26T23:21:00Z
Retrieving data...
Perfstats retrieved...
Results for value ha-host
Perfdata object: 2011-07-26T23:21:20Z
Disconnecting...
Exiting with status (2)
CRIT: CPU usage at 7825528.47% (need more CPU allocation?)|cpu=7825528.47%;80;90;0;100
(I realize that it's an error in the API)
And oddly, I'm getting a similar error for 'net'.
[root@lib-systems plugins]# ./check_vmware.pl --config=XXXXX --report=net --debug
Starting.
Connecting
Connected
Server Time : 2011-07-26T23:24:11.544703Z
Report type requested is [net]
Base is ha-folder-root
Running network report
Retrieving PerfMgr data
Selected interval is: 0
Retrieving list of hosts...
Making new propertyspec
Making new filterspec from
Retrieving vim_service
Retrieving properties from VimService
Checking faults on SoapResponse
Processing entities:
ha-host
Creating query for MORef ha-host
Start time: 2011-07-26T23:19:00Z
End time : 2011-07-26T23:24:00Z
Retrieving data...
Perfstats retrieved...
Results for value ha-host
Perfdata object: 2011-07-26T23:24:00Z
Disconnecting...
Exiting with status (2)
CRIT: Network usage at 242144808Kbps (need more resource shares or physical interfaces?)|net=242144808;7680;10240;0;
The other parameters (memory, disk) produce meaningful output and jibe with my understanding.Statistics: Posted by arrbos — Wed Jul 27, 2011 12:26 pm
]]>