author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Thu, 28 May 2009 00:52:55 +0000 (20:52 -0400) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Thu, 28 May 2009 12:10:49 +0000 (08:10 -0400) | ||
commit | 7cb3ae09334796f3b54e4e6438e38c2cc679b360 | |
tree | 398eb8bf5f022b4d5d158fcf9d39be664dd4fa59 | tree | snapshot |
parent | 34fe4d62fe79236d0cd560f06f6e93bf46a41dd0 | commit | diff |
check_snmp: Make use of standard threshold functions
This patch makes use of standard threshold functions. This allows using
doubles as thresholds.
Since SNMP supports only integers, double precision numbers are only
printed when parsed from a STRING type.
In addition, support for printing properly Timeticks type has been added,
and the code has been thoroughly cleaned.
This patch makes use of standard threshold functions. This allows using
doubles as thresholds.
Since SNMP supports only integers, double precision numbers are only
printed when parsed from a STRING type.
In addition, support for printing properly Timeticks type has been added,
and the code has been thoroughly cleaned.
NEWS | diff | blob | history | |
lib/utils_base.h | diff | blob | history | |
plugins/check_snmp.c | diff | blob | history | |
plugins/t/check_snmp.t | diff | blob | history |