Menu

#774 snmpd infinite loops after walking Host MIB

closed
nobody
agent (1105)
5
2012-11-08
2003-06-23
Ed Ravin
No

Environment is NetBSD 1.5.3 and 1.6.1

Both net-snmp 5.0.6 and 5.08 have this problem in our
environment: when I do a MIB walk of the Host mib,
snmpd
goes into an infinite loop after returning these values:

We are running snmpd listening on tcp:NNNN and
udp:161.

The results of the walk are below:

snmpwalk -v 1 -m ALL localhost host
[...]
host.hrDevice.hrFSTable.hrFSEntry.hrFSAccess.1 =
readWrite(1)
host.hrDevice.hrFSTable.hrFSEntry.hrFSAccess.2 =
readOnly(2)
host.hrDevice.hrFSTable.hrFSEntry.hrFSBootable.1 =
true(1)
host.hrDevice.hrFSTable.hrFSEntry.hrFSBootable.2 =
false(2)
host.hrDevice.hrFSTable.hrFSEntry.hrFSStorageIndex.1
= 1
host.hrDevice.hrFSTable.hrFSEntry.hrFSStorageIndex.2
= 2
host.hrDevice.hrFSTable.hrFSEntry.hrFSLastFullBackupDate.1
= Hex: 00 00 01 01 00 00 00 00
host.hrDevice.hrFSTable.hrFSEntry.hrFSLastFullBackupDate.2
= Hex: 00 00 01 01 00 00 00 00
host.hrDevice.hrFSTable.hrFSEntry.hrFSLastPartialBackupDate.1
= Hex: 00 00 01 01 00 00 00 00
host.hrDevice.hrFSTable.hrFSEntry.hrFSLastPartialBackupDate.2
= Hex: 00 00 01 01 00 00 00 00
Timeout: No Response from localhost

Our environment (both NetBSD 1.5.3 and 1.6) is available
for remote login if you would like a shell prompt to test
anything. Contact me at eravin@panix.com

Discussion

  • John Naylon

    John Naylon - 2003-06-24

    Logged In: YES
    user_id=93926

    If you could run the agent as snmpd -f -L -Dall you will get
    a lot of debugging output -- it would be useful if you can
    isolate where the repetition starts and either paste or
    attach it here.

     
  • Ed Ravin

    Ed Ravin - 2003-06-26

    Logged In: YES
    user_id=21104

    I realized that I had a mismatch in my environment - I was
    running a net-snmpd compiled for NetBSD 1.6 on a 1.5.3 box.
    I am unable to reproduce this problem when I match the OS with
    a net-snmpd compiled for that OS.

     
  • Ed Ravin

    Ed Ravin - 2003-06-30

    Logged In: YES
    user_id=21104

    I realized that I had a mismatch in my environment - I was
    running a net-snmpd compiled for NetBSD 1.6 on a 1.5.3 box.
    I am unable to reproduce this problem when I match the OS with
    a net-snmpd compiled for that OS.

     
  • Robert Story

    Robert Story - 2005-04-25

    Logged In: YES
    user_id=76148

    this is most likely a dup of 986238.. see fix there...

     

Log in to post a comment.

MongoDB Logo MongoDB