author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 1 Dec 2010 02:02:23 +0000 (21:02 -0500) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 1 Dec 2010 03:32:33 +0000 (22:32 -0500) | ||
commit | df88f95fcaf65d58a9ea172c2b3e2b96d80dff33 | |
tree | 2ee4154b2f7e96cac96c8bfbc4e3fff5116095fa | tree | snapshot |
parent | 9faccbb26106fc6f134c783c91d1871af581af02 | commit | diff |
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.
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 | diff | blob | history | |
plugins/check_snmp.c | diff | blob | history | |
plugins/t/check_snmp.t | diff | blob | history |