I need my warnings and critical thresholds for a SNMP value checked with check_snmp to be negative. Is this possible? I've tried just about everything I can think of to get this to work with no luck. This is for checking radio signal/noise levels, which are always negative.
I'd like, for example:
OK: -79 to +inf (in practice this will never be above zero, but in theory positive numbers are valid)
Warning: -80 to -89
Critical: -90 to -inf
check_snmp: set negative warning/critical threshholds?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_snmp: set negative warning/critical threshholds?
This is possible with the following format:
https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT
Code: Select all
-w @-89:-80 -c @~:-90