Hi there everyone,
We deplyed a debian8 serwer at out DC.
I've installed like always snmpd deamon to monitor trafiic and packts on ifaces.
Only new install is not working full order.
Snmp serwer give me only zero on alle interfaces IF-MIB::ifInUcastPkts value in iface tree.
Other values are present at IfInOctets for example:
IF-MIB::ifInOctets.9 = Counter32: 1296965733
:( Pls help :(
NET-SNMP version: 5.7.2.1
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
Linux host 3.14.32-xxxx-grs-ipv6-64 #1 SMP Tue Jun 30 18:50:21 CEST 2015 x86_64 GNU/Linux
Debian GNU/Linux 8
snmpwalk -v 2c -c comm X.X.X.X | grep "F-MIB::ifInUcastPkts.9 ="
IF-MIB::ifInUcastPkts.9 = Counter32: 0
IF-MIB::ifInOctets.9 = Counter32: 1296965733
IF-MIB::ifOperStatus.9 = INTEGER: up(1)
IF-MIB::ifPhysAddress.9 = STRING: c:c4:7a:34:f5:3a
Can you attach a copy of /proc/net/dev ?
Sure :)
For that dev eq .9 it will be:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
br00_public: 1196980382028 1162929702 0 0 0 0 0 0 1489502706331 874687592 0 0 0 0 0 0
eth0: 1253452109981 1772621137 0 61056 0 0 0 4034363 1535137959323 1562075970 0 0 0 0 0 0
.9 is an bridge iface with slave iface od eth0 as above.
Hmm, nothing obviously wrong there. Could you try running snmpd with debug:
snmpd -DifTable,verbose:ifTable,access,9:access
and then walk ifTable?
Thx for reply.
After running with debug it's ok:
snmpd -DifTable,verbose:ifTable,access,9:access
snmpwalk -v 2c -c comm X.X.X.X | grep "F-MIB::ifInUcastPkts.9 ="
IF-MIB::ifInUcastPkts.9 = Counter32: 1426096647
but after running on default options form init.d i have:
/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /run/snmpd.pid
snmpwalk -v 2c -c comm X.X.X.X | grep "F-MIB::ifInUcastPkts.9 ="
IF-MIB::ifInUcastPkts.9 = Counter32: 0
What i'm doing wrong? :(