projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee91837
)
snmp plugin: Added a note about a potential bug that needs fixing.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 2 Mar 2009 08:49:22 +0000
(09:49 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 2 Mar 2009 08:49:22 +0000
(09:49 +0100)
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
patch
|
blob
|
history
diff --git
a/src/snmp.c
b/src/snmp.c
index
4d6e769
..
995f39d
100644
(file)
--- 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)
{