From df88f95fcaf65d58a9ea172c2b3e2b96d80dff33 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 30 Nov 2010 21:02:23 -0500 Subject: check_snmp: Remove that is_numeric madness Original patch to make Timeticks works as in check_snmp v1.4.14, it turns out is_numeric isn't so useful and treating all types as numeric works best for backwards-compatibility. This is how it used to work in 1.4.14. As a special case, I also make calculate_rate look up for numeric values as it would otherwise return the last value instead. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index cf4b4042..fb130ce7 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,9 @@ This file documents the major additions and syntax changes between releases. Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603) check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696) + FIXES + Make check_snmp work more like v1.4.14 with regard to using special values (Timeticks, STRING) as numeric thresholds. + 1.4.15 27th July 2010 ENHANCEMENTS New check_ntp_peer -m and -n options to check the number of usable time sources ("truechimers") -- cgit v1.2.3-74-g34f1