Getting error check_esx3.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Getting error check_esx3.pl

Post by bosecorp »

MOD EDIT: Split from https://support.nagios.com/forum/viewtopic.php?t=43822 as this is a new check

Need help in setting the right thresholds now..

# /usr/local/nagios/libexec/check_esx3.pl -H "xx.xx.xx.xx" -f "/usr/local/nagiosxi/etc/components/vmware/xxxxx04_bose_com_auth.txt" -l "VMFS" -s xx-App_1 -w10%: -c5%:
ESX3 OK - xx-App_1=333605.00 MB (15.91%) | xx-App_1=15.91%;10:;5:

The requirement here is that , if the free space value (highlighted in red) goes below
100-11% should report ok
10-6% its should report as warning
5-0% then critical,

Can you please help me setting the thresholds as mentioned above
Last edited by dwhitfield on Thu May 11, 2017 4:54 pm, edited 2 times in total.
Reason: adding link back
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Getting error check_esx3.pl

Post by bosecorp »

can someone assist me with this ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Getting error check_esx3.pl

Post by dwhitfield »

It says ok at 15, which is what you want. Am I missing something?
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Getting error check_esx3.pl

Post by bosecorp »

Kindly ignore the output mentioned in the output, seems like i'm not entering the right parameters.

Lets say the output is 15%, ideally it should say as ok, as per below conditions.
100-11% should report ok
10-6% its should report as warning
5-0% then critical

I was going through the thresholds mentioned in the link https://nagios-plugins.org/doc/guidelines.html
But was not able to get the right parameters here.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Getting error check_esx3.pl

Post by bosecorp »

# /usr/local/nagios/libexec/check_esx3.pl -H "xx.xx.xx.xx" -f "/usr/local/nagiosxi/etc/components/vmware/xx_bose_com_auth.txt" -l "VMFS" -s dce-App_21 -w12%: -c5%:
ESX3 WARNING - dce-App_21=212914.00 MB (10.15%) | dce-App_21=10.15%;12:;5:

# /usr/local/nagios/libexec/check_esx3.pl -H "xx.xx.xx.xx" -f "/usr/local/nagiosxi/etc/components/vmware/xx_bose_com_auth.txt" -l "VMFS" -s dce-App_9 -w10%: -c5%:
ESX3 CRITICAL - dce-App_9=9247.00 MB (0.44%) | dce-App_9=0.44%;10:;5:

# /usr/local/nagios/libexec/check_esx3.pl -H "xx.xx.xx.xx" -f "/usr/local/nagiosxi/etc/components/vmware/xx_bose_com_auth.txt" -l "VMFS" -s dce-App_14 -w10%: -c5%:
ESX3 OK - dce-App_14=235686.00 MB (11.24%) | dce-App_14=11.24%;10:;5:

Looks like its working correct. Can you confirm this one?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Getting error check_esx3.pl

Post by dwhitfield »

It looks like all of those check out. Did you want to close the thread or did you have other questions?
Locked