Menu

#803 skipNFSInHostResources fixed in hrStorageTable

closed
None
5
2012-11-08
2007-05-15
Anonymous
No

If skipNFSInHostResources is enabled a 'snmpwalk' of the hrStorageTable stops at the first column of a net-filesystem (because Get_Next_HR_Store() should return -1 or something similar at this point). Subsequent snmpwalks return only an empty list.

A 'snmpget' for a specific table entry works by the way and afterwards the 'snmpwalk' will return the first column of the table up to the first net-filesystem.

The patch solves this problem by skipping net-filesystems in the function Get_Next_HR_Store.

christian (dot) jung (at) saarstahl (dot) com

This patch is for net-snmp version 5.4.

Discussion

  • Nobody/Anonymous

    patch for hr_storage.c

     
  • Wes Hardaker

    Wes Hardaker - 2007-05-18

    Logged In: YES
    user_id=76242
    Originator: NO

    Thanks for the patch! It has been applied to the 5.4.x
    code branch and the main development tree, and will
    appear in future releases of the Net-SNMP package.

     

Log in to post a comment.