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.
vmwareesxvspherevcenterserver.zip monitoring wizard issue
-
lightsailpro
- Posts: 3
- Joined: Sun May 23, 2010 1:07 am
-
lightsailpro
- Posts: 3
- Joined: Sun May 23, 2010 1:07 am
Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue
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)
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
The CPU usage is discussed in another topic.
http://go.nagios.com/forum/106
http://go.nagios.com/forum/106
-
lightsailpro
- Posts: 3
- Joined: Sun May 23, 2010 1:07 am
Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue
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.mmestnik wrote:The CPU usage is discussed in another topic.
http://go.nagios.com/forum/106
Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue
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.
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: vmwareesxvspherevcenterserver.zip monitoring wizard issue
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.