diff options
author | Andreas Ericsson <ae@op5.se> | 2012-11-02 13:44:16 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2012-11-03 02:25:37 (GMT) |
commit | bd782990566eec91b8312cfc2765a7e2bd9e67da (patch) | |
tree | 2ca274e38322b1a86e237b830a485bf9d96ca457 /pkg/solaris | |
parent | 831bb312a9c8a76f1e24d144952ed7c757a2d09c (diff) | |
download | monitoring-plugins-bd782990566eec91b8312cfc2765a7e2bd9e67da.tar.gz |
Make check_snmp backwards compatible in how it parses thresholds
Once upon a time, check_snmp used to accept inverse ranges in the
format of '2:1' to mean "alert if value is inside this range".
Since commit 7cb3ae09334796f3b54e4e6438e38c2cc679b360, ranges such
as those have instead triggered the error "Range format incorrect"
and resulted in an UNKNOWN warning state. This patch attempts to
fix the situation so that the old-style ranges continues to mean
exactly what the once did and people with lots of snmp checks can
avoid a bazillion false positives from their environments.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'pkg/solaris')
0 files changed, 0 insertions, 0 deletions