From b74101a33fad432014a840a8242afe268b4ce3d4 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 2 Mar 2009 09:49:22 +0100 Subject: [PATCH] snmp plugin: Added a note about a potential bug that needs fixing. Negative absolute (gauge) values may be casted to an unsigned integer variable on their way throught he daemon, producing VERY HIGH tempera- tures in winter.. --- src/snmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/snmp.c b/src/snmp.c index 4d6e7694..995f39de 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -692,6 +692,7 @@ static void csnmp_host_open_session (host_definition_t *host) } } /* void csnmp_host_open_session */ +/* TODO: Check if negative values wrap around. Problem: negative temperatures. */ static value_t csnmp_value_list_to_value (struct variable_list *vl, int type, double scale, double shift) { -- 2.11.0