Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different values on remote and local snmpwalk

Status
Not open for further replies.

modules

Technical User
Mar 20, 2006
1
DE
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top