Setting multiple thresholds
Posted: Tue Feb 27, 2018 8:16 am
Good afternoon everybody,
I wondered if the following was possible:
HP hardware is returning the following values when checked with check_snmp:
1 - unknown/other
2 - ok
3 - warning
4 - critical
I'd want to set my warning level so that a return value of 3 or below 2 results in "warning" and 4 results in "critical". The obvious solution is to append the "-s 2" directive to the check_snmp command, but this will report any status but 2 as "critical". I'd want only 4 as "critical" and anything else (without 2, obviously) as "warning". Is there a way to achieve this?
TIA
Matthias
I wondered if the following was possible:
HP hardware is returning the following values when checked with check_snmp:
1 - unknown/other
2 - ok
3 - warning
4 - critical
I'd want to set my warning level so that a return value of 3 or below 2 results in "warning" and 4 results in "critical". The obvious solution is to append the "-s 2" directive to the check_snmp command, but this will report any status but 2 as "critical". I'd want only 4 as "critical" and anything else (without 2, obviously) as "warning". Is there a way to achieve this?
TIA
Matthias