so i set level3 stats at 5 min. And replace guest name by the IP adress and the result remains the same.
./check_vmware.pl --config=vmconfig.cfg --mode=nagios --report=net --guest=xx.xxx.xx.xxx --debug
Starting.
Connecting
Connected
Server Time : 2010-12-07T07:39:25.783149Z
Trying to locate 10.117.65.221
Now trying as hostname...
Now trying as IP address...
Guest is poweredOn
Report type requested is [net]
Base is Datacenters
Disconnecting...
Exiting with status (3)
here is the command but i query the CPU:
./check_vmware.pl --config=vmconfig.cfg --mode=nagios --report=CPU --guest=xx.xxx.xx.xxx --debug
Starting.
Connecting
Connected
Server Time : 2010-12-07T07:39:39.595826Z
Trying to locate xx.xxx.xx.xxx
Now trying as hostname...
Now trying as IP address...
Guest is poweredOn
Report type requested is [CPU]
Base is Datacenters
Retrieving PerfMgr data
Selected interval is: 300
Processing entities:
Server
Creating query for Server
Start time: 2010-12-07T07:34:00Z
End time : 2010-12-07T07:39:00Z
Retrieving data...
Perfstats retrieved...
Results for Server
Perfdata object: 2010-12-07T07:40:00Z
Disconnecting...
Exiting with status (0)
CPU usage at 39.53%<BR> Guest CPUs: 1<BR> CPU stats: Used/System/Ready = 39.11%/0.64%/0.01%|cpu=39.53%;80;90;0;100 ready=0.01%;5;10;0;100 user=39.11%;;;0;100 sys=0.64%;;;0;100
VMWARE vCenter Server Version 4.0.0 Build 208111
I do not understand the difference....Statistics: Posted by Titeuf74 — Tue Dec 07, 2010 8:46 pm
]]>