Page 1 of 1

Service Status Detail

Posted: Fri Nov 14, 2014 1:04 pm
by ancovington
We are getting the error below and everything is fine with our ESX host:

Critical
ESX3 CRITICAL - Illegal division by zero at /usr/local/nagios/libexec/check_esx3.pl line 1065.

We tried forcing an immediate check and we just upgraded Nagios to version 2014R2.0 in order to resolve this issue, but it didn't. Could someone please assist?

Re: Service Status Detail

Posted: Fri Nov 14, 2014 1:19 pm
by abrist
Is this a shared volume check? If so and if the mountpoint does not exist, you will get this error.

Re: Service Status Detail

Posted: Fri Nov 14, 2014 1:46 pm
by ancovington
No this is not a shared volume check. This is a check for Datastore usage for a virtual host. We only have 5-6 virtual host that use this check and those are reporting fine.

Re: Service Status Detail

Posted: Fri Nov 14, 2014 3:11 pm
by abrist
How large is the size? I have seen this when the volume does not exist (thus returning 0 size and failing the division), or when the size of the datasource is larger than the plugin can handle, causing overflow and a return of 0 which again fails division.

Re: Service Status Detail

Posted: Fri Nov 14, 2014 9:59 pm
by Box293
You should check out box293_check_vmware:
http://exchange.nagios.org/directory/Pl ... re/details

There is also a wizard for it:
http://exchange.nagios.org/directory/Ad ... rd/details

Re: Service Status Detail

Posted: Wed Jan 14, 2015 10:47 am
by ancovington
Thank you for your help. This can be closed.