Hello,
I am running snmpd on a debian machine. If i do a local snmpwalk on ifOutOctets
i got the right values. If i do the same from a remote machine, the
value for ifOutOctets
ist empty.
Local walk:
$ snmpwalk -Os -c publica -v 1 192.168.0.5 | grep Oc
ifInOctets.1 = Counter32: 802467492
ifInOctets.2 = Counter32: 362656
ifInOctets.3 = Counter32: 0
ifOutOctets.1 = Counter32: 11331569552
ifOutOctets.2 = Counter32: 364406
ifOutOctets.3 = Counter32: 0
hrSWRunParameters.24074 = STRING: "Oc"
Remote walk:
$ snmpwalk -Os -c publica -v 1 192.168.0.5 | grep Oc
ifInOctets.1 = Counter32: 802401967
ifInOctets.2 = Counter32: 353255
ifInOctets.3 = Counter32: 0
ifOutOctets.1 = Counter32: 0
ifOutOctets.2 = Counter32: 353255
ifOutOctets.3 = Counter32: 0
The relevant part (i think) of my snmpd.conf looks
like this:
agentaddress udp:192.168.0.5:161
com2sec readonly 192.168.0.0/24 publica
Maybe its a problem with permissions or something,
can somebody give a hint?
Regards, Tobias.
I am running snmpd on a debian machine. If i do a local snmpwalk on ifOutOctets
i got the right values. If i do the same from a remote machine, the
value for ifOutOctets
ist empty.
Local walk:
$ snmpwalk -Os -c publica -v 1 192.168.0.5 | grep Oc
ifInOctets.1 = Counter32: 802467492
ifInOctets.2 = Counter32: 362656
ifInOctets.3 = Counter32: 0
ifOutOctets.1 = Counter32: 11331569552
ifOutOctets.2 = Counter32: 364406
ifOutOctets.3 = Counter32: 0
hrSWRunParameters.24074 = STRING: "Oc"
Remote walk:
$ snmpwalk -Os -c publica -v 1 192.168.0.5 | grep Oc
ifInOctets.1 = Counter32: 802401967
ifInOctets.2 = Counter32: 353255
ifInOctets.3 = Counter32: 0
ifOutOctets.1 = Counter32: 0
ifOutOctets.2 = Counter32: 353255
ifOutOctets.3 = Counter32: 0
The relevant part (i think) of my snmpd.conf looks
like this:
agentaddress udp:192.168.0.5:161
com2sec readonly 192.168.0.0/24 publica
Maybe its a problem with permissions or something,
can somebody give a hint?
Regards, Tobias.