Unable to monitor esxi hosts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
baron164
Posts: 7
Joined: Wed Jun 22, 2016 1:08 pm

Unable to monitor esxi hosts

Post by baron164 »

I deployed the latest Nagios ova into my VMware environment so I can test it using the 30 day trial license. So far monitoring web sites and windows machines works fine. But I've been unable to add my ESXi hosts into Nagios. I've installed the latest Perl SDK from VMware and I've tried added the hosts into Nagios using the wizard but I just receive "(Service check timed out after 60.04 seconds)" errors. I tried to run the check_vmware_api.pl script manually but that gives me a "CHECK_VMWARE_API.PL CRITICAL - SOAP request error - possibly a protocol issue" error. Can anyone tell me what the issue might be and/or how to fix it?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Unable to monitor esxi hosts

Post by gormank »

You could try running checks via the vcenter host rather than the ESX hosts. -D below is the vcenter host.

/usr/local/nagios/libexec/check_vmware_api.pl -H $HOSTNAME$ -u $USER9$ -p $USER10$ --command=cpu --subcommand=usage -w 50% -c 80% -D $USER11$ -C CMV --timeout=15

Other than that I would google the the error message and see what others have done.
Locked