Hello, i have troubles with monitoring some numeric values on 64-bit servers, for example - traffic of net interfaces. Maybe it connected with servers arch.
Ad Widget
Collapse
bet9+64bit arch
Collapse
X
-
I suppose float data type in src/zabbix_agent/interfaces.h is not enough on 64-bit arch.
There are 64-bit traffic counters in /proc/net/dev on 64-bit kernel and 32-bit counters on 32-bit kernel, so you need double or unsigned long datatype for network traffic counters in Zabbix agent.Code:INTERFACE { char *interface; int clock[60*15]; float sent[60*15]; //<---- should be double or 64-bit ulong float received[60*15]; //<---- should be double or 64-bit ulong };Last edited by amall; 11-05-2006, 17:13. -
Thanks for reporting this. Will be fixed.Comment
Comment