problem with checks on vcenter server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ByAccident
Posts: 2
Joined: Wed Dec 30, 2015 2:35 am

problem with checks on vcenter server

Post by ByAccident »

Dear all,

Since a few day One of our vcenter servers is generating errors.
I can't seem to locate the problem.

when I run:

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl -H "xxx.xxx.xxx.xxx" -f "/usr/local/nagiosxi/etc/components/vmware/thepasswd_auth.txt" -N "servername" -l "runtime" -s "con" 
CHECK_ESX3.PL OK - "servername" connection state=connected
all seems to be ok
however when I use the normal service with the MEM prefix I get an unknown error.
I already rebooted the vcenter, Nagios host, deleted all "bad" services and created them again but keep getting same error.

the other vcenter server has the same setup, same basic monitoring but he seems to be ok.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: problem with checks on vcenter server

Post by lmiltchev »

What is the version of Nagios XI that you are currently using? Run the following commands and show the output:

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl -V
/usr/local/nagios/libexec/check_esx3.pl -H "xxx.xxx.xxx.xxx" -f "/usr/local/nagiosxi/etc/components/vmware/thepasswd_auth.txt" -N "servername" -l "MEM" -vvv
In the latest XI, we include a newer plugin for vmware checks - "check_vmware_api.pl". If you have it available in the libexec directory, try it to see if this is going to fix the issue:

Code: Select all

/usr/local/nagios/libexec/check_vmware_api.pl -H "xxx.xxx.xxx.xxx" -f "/usr/local/nagiosxi/etc/components/vmware/thepasswd_auth.txt" -N "servername" -l "MEM"
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked