Answer the question
In order to leave comments, you need to log in
Zabbix does not show network interface statistics, what should I do?
Good ... on one of the iron servers, zabbix does not want to draw graphs for loading network interfaces.
I am accessing from the server:
server # zabbix_get -s clientIP -k "net.if.in[eth0]"
0
in the client logs I see the following picture:
***
Requested [net.if.in[eth0]]
Sending back [0]
* **
Requested [net.if.out[eth0]]
Sending back [0]
when running as root:
client# cat /proc/net/dev
Inter-| receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eth0: 4381365670332 7214621508 0 85771 0 0 0 0 1116447355487 3639879329 0 0 0 0 0 0
when running from zabbix:
client$ cat /proc/net/dev
Inter-| receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
if zabbix sudo is enabled then :
client$ sudo cat / proc/net/dev
nter-| receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eth0: 4381753920589 7215283769 0 85777 0 0 0 0 1116578091288 3640266574 0 0 0 0 0
0 the same zeros.
client# ls -l /proc/net/dev
-r--r--r-- 1 root root 0 Aug 26 16:13 /proc/net/dev
Linux client 3.14.32-xxxx-grs-ipv6-64 #5 SMP Wed Sep 9 17:24:34 CEST 2015 x86_64 GNU/Linux
debian 8.4
zabbix-agent 3.0.4-1+jessie
Thank you for your help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question