I have a service check that will return negative 1 thru negative 99.
I want to set a warning starting at -55 then critical at -60 (the following code works for this): -w=-55: -c=-60:
However, I want -99 to be OK.
How can I do a number range that will exclude -99?
Thanks -
Negative Threshold Ranges
Re: Negative Threshold Ranges
Based on https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT - I don't think this would be possible to add an exception for -99.
I believe your best bet is writing a wrapper script to sit in front of the service checks that have this exception.
I believe your best bet is writing a wrapper script to sit in front of the service checks that have this exception.
Former Nagios Employee
Re: Negative Threshold Ranges
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up?
Former Nagios employee
-
nbradshaw45
- Posts: 11
- Joined: Tue Jan 31, 2017 5:09 pm
Re: Negative Threshold Ranges
Yes - I used a wrapper to make this happen...we can close...thanks.