Hi there,
I use NagiosXI to monitor VMware ESX Servers. Sometimes the check failed with "Unknown Error CPU" or "Unknown ERROR IO" in this case the Service gets red.
Sometimes the check is successfull and green. This behaviour is absolutly random.
Every Host und Every Service is flapping its state.
The Servers arent overloaded. Any Idea how to fix this?
Thank you in advance
ESX Plugin on NagiosXi
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: ESX Plugin on NagiosXi
Hello, [user][email protected][/user].
What plugin are you using to monitor ESX? If you're using check_esx3.pl than I'd recommend increasing timeout with -t argument. Can you upload the check command definition?
What plugin are you using to monitor ESX? If you're using check_esx3.pl than I'd recommend increasing timeout with -t argument. Can you upload the check command definition?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
[email protected]
- Posts: 13
- Joined: Tue Nov 07, 2017 3:10 am
Re: ESX Plugin on NagiosXi
I am using the Plugins which is used by the Nagios XI VMWare Wizard.
Commad look like the following:
ESX3 CRITICAL - HOST MEM Unknown error
But sometimes I get result back from the ESX. The State is flapping from Unknown Error to green
Commad look like the following:
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -H "172.16.254.152" -f "/usr/local/nagiosxi/etc/components/vmware/esx02_auth.txt" -l "MEM" But sometimes I get result back from the ESX. The State is flapping from Unknown Error to green
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: ESX Plugin on NagiosXi
[user][email protected][/user], Let's try to add a timeout value to your command:
You can modify this command if you go to Core Configuration Manager, and then click on Commands in the left column.
I see you also opened a support ticket with us. Would you like to go forward with the support ticket instead?
Code: Select all
$USER1$/check_esx3.pl -H "$HOSTADDRESS$" -f "$ARG1$" -l "$ARG2$" $ARG3$ -t 59 I see you also opened a support ticket with us. Would you like to go forward with the support ticket instead?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
[email protected]
- Posts: 13
- Joined: Tue Nov 07, 2017 3:10 am
Re: ESX Plugin on NagiosXi
I there, we can also go the way by this Thread. It doesnt make any matter the -t 59 .
Maybe there is any known issue by esx Side?
Maybe there is any known issue by esx Side?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: ESX Plugin on NagiosXi
[user][email protected][/user], Looks like it is some kind of connection issue. But we had a similar issue in the past and it was fixed by changing the plugin to a different version.
1. Make a backup of the old plugin:
2. Upload the new plugin(attached to this post).
3. Change the new plugin permissions:
After that please restart nrpe. And also, please keep the timeout value in your command for now.
Let us know if the new plugin produces the same kind of behavior.
1. Make a backup of the old plugin:
Code: Select all
cd /usr/local/nagios/libexec
mv check_esx3.pl check_esx3.old.pl3. Change the new plugin permissions:
Code: Select all
chown apache.nagios check_esx3.pl
chmod 775 check_esx3.plLet us know if the new plugin produces the same kind of behavior.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
[email protected]
- Posts: 13
- Joined: Tue Nov 07, 2017 3:10 am
Re: ESX Plugin on NagiosXi
Hi the new Plugin works good.
Thank you for the support!
Thank you for the support!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: ESX Plugin on NagiosXi
[user][email protected][/user], Great, closing this thread!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.