Page 1 of 1

vmwareesxvspherevcenterserver.zip monitoring wizard issue

Posted: Sun May 23, 2010 1:20 am
by lightsailpro
Hi, I added this monitoring wizard "vmwareesxvspherevcenterserver.zip", the install the VMware-vSphere-SDK-for-Perl-4.0.0-161974.i386.tar.gz on the Nagios server, set the the ESXi host connection info (host, user, password) in the "check_vmware_config_vcenter01" file. But I got the error in the service complaining the host is not valid. But the host is right. I am using ESXi. Thanks.

UNKNOWN: Host system '192.168.1.158' not found. I tried the check_vmware command line with the same host name. It looks fine.

Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue

Posted: Sun May 23, 2010 2:49 am
by lightsailpro
Fixed the problem by the following (chane the parameter name from host to server)

change the following command: check_vmware_host

from
$USER1$/check_vmware.pl --config=$USER1$/$ARG1$ --host=$HOSTADDRESS$ --report=$ARG2$ --mode=nagios --warn=$ARG3$ --crit=$ARG4$ $ARG5$
$ARG6$ $ARG7$ $ARG8$
to
$USER1$/check_vmware.pl --config=$USER1$/$ARG1$ --server=$HOSTADDRESS$ --report=$ARG2$ --mode=nagios --warn=$ARG3$ --crit=$ARG4$ $ARG5$
$ARG6$ $ARG7$ $ARG8$

Now, the new issue with the unreasonable cpu value

VMware Host Current CPU Usage Critical 14m 58s 5/5 2010-05-23 02:48:46 CRIT: CPU usage at 3998749.04% (need more CPU allocation?)
(No CPU fairness data)
VMware Host Current Datastore datastore1 Usage Ok 10m 49s 1/5 2010-05-23 02:48:55 All filesystems within parameters
VMware Host Current Memory Usage Ok 10m 12s 1/5 2010-05-23 02:49:32 Memory usage at 78.95%
(No MEM fairness data)

Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue

Posted: Mon May 24, 2010 10:16 am
by mmestnik
The CPU usage is discussed in another topic.
http://go.nagios.com/forum/106

Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue

Posted: Mon May 24, 2010 4:01 pm
by lightsailpro
mmestnik wrote:The CPU usage is discussed in another topic.
http://go.nagios.com/forum/106
I really means that teh cpu usage raeding on the ESXi host is not right. It should be less than 100%. Not sure what is wrong.

Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue

Posted: Tue May 25, 2010 10:45 am
by mmestnik
I bet you are using the community Wizard. It's a good wizard but I haven't fully tested it and I certainly don't know any more about it then you do.

Attached is an unfinished and unpublished alpha copy of what we are working on for a VMWare monitor wizard. We would be happy if you wouldn't mind testing it for us.

Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue

Posted: Tue May 25, 2010 5:30 pm
by Box293
lightsailpro,
I am the author of the vmwareesxvspherevcenterserver.zip monitoring wizard.

During my testing I have not had access to ESXi servers so I have not tesed these with the VMware check plugin.

Steve Shipway is the creator of this plugin, it might be worthwhile contacting him through his forums to ask him about this problem with ESXi. http://www.steveshipway.org/forum/viewt ... =35&t=1648. I am not sure if ESXi is supported by this plugin.

If you do get to the bottom of your problem please do not hesitate to let me know what you think needs to be changed in the wizard. This way I can update it for the benefit of all users.