Page 1 of 1
Monitoring FreeNAS
Posted: Tue Sep 10, 2013 12:12 am
by glenlopez16
Hi,
Anyone, can you give me a solution on this error:
ESX3 CRITICAL - Illegal division by zero at /usr/local/nagios/libexec/check_esx3.pl line 1065
Thanks.
Re: Monitoring FreeNAS
Posted: Tue Sep 10, 2013 9:34 am
by abrist
Are you monitoring a volume that does not exist? The line in question references freespace. We have seen this error before and it is usually due to the volume not existing.
Code: Select all
my $value2 = simplify_number(convert_number($store->info->freeSpace) / convert_number($store->summary->capacity) * 100);
Also, you mention that this is a freeNAS device. check_esx3.pl is a script for checking vmware hosts/guests, not freeNAS. Are you sure you are monitoring a freeNAS device? If so, what is your reasoning for using check_esx3.pl?