Page 1 of 1
ESXI Hosts in "unknown" status
Posted: Tue Aug 27, 2019 8:16 am
by lpereira
Hello Everyone... i have added 2 ESXI servers in order to monitor their services. However after a few days, those servers started to sent "unknown" results on the check. those are not the only servers i have, but the only ones showing this behaivour.
is there a way to get this working?
thanks.
Re: ESXI Hosts in "unknown" status
Posted: Tue Aug 27, 2019 2:09 pm
by mbellerue
It's odd that the duration on some of these checks are less than others. On the second server, can you select the Memory for VMHost check, click on the Service State History, and show us the page?
Re: ESXI Hosts in "unknown" status
Posted: Tue Aug 27, 2019 2:12 pm
by lpereira
mbellerue wrote:It's odd that the duration on some of these checks are less than others. On the second server, can you select the Memory for VMHost check, click on the Service State History, and show us the page?
Here..
Re: ESXI Hosts in "unknown" status
Posted: Tue Aug 27, 2019 2:51 pm
by mbellerue
Are you able to run the check from Core Configuration Manager, or from the command line as nagios?
Re: ESXI Hosts in "unknown" status
Posted: Tue Aug 27, 2019 3:56 pm
by lpereira
mbellerue wrote:Are you able to run the check from Core Configuration Manager, or from the command line as nagios?
when i run the command from CCM i got the following answer
Code: Select all
[nagios@nagios~]$ /usr/local/nagios/libexec/check_vmware_api.pl -H "XXX.XXX.XXX" -f "/usr/local/nagiosxi/etc/components/vmware/XXXXXXX_auth.txt" -l "MEM"
Re: ESXI Hosts in "unknown" status
Posted: Wed Aug 28, 2019 9:12 am
by mbellerue
Wow, no errors or anything. Let's try adding a -v to your command, and running it again to see what we get.
If it still doesn't produce any errors, the next step would be to provide an incorrect password in the auth file and trying the command again. Just to see if we can get any kind of error message out of the plugin.