On 12/02/2008, Sven Koos <[EMAIL PROTECTED]> wrote:
> The hrStorageEntry table entries are identical to hrFSEntry table entries
> (except memory etc.). So basically the problem relies to the hrFSEntry table.

OK - that's useful.
So tracking down this problem will need to concentrate on the hr_filesys.c
code.   I suspect the most likely place to start would be the the routine
Get_Next_HR_FileSys()

   Unfortunately there's a distinct lack of debugging output in this module,
so you're probably going to have to tweak the code a bit.   I'm attaching a
patch to apply to this file.

Recompile the agent, and start it with the option -Dhost/hr_filesys
Then run a single "snmpget" query on any OID in the hrFSTable
(it doesn't matter which).
    The agent should produce a list of filesystems, some of which will
then be "skipped".   Does /tmp appear in this list or not?

Dave
Index: hr_filesys.c
===================================================================
--- hr_filesys.c	(revision 16768)
+++ hr_filesys.c	(working copy)
@@ -716,9 +716,13 @@
         return -1;
 #endif                          /* solaris2 */
 
+    DEBUGMSGTL(("host/hr_filesys", "Get_Next_HRFS %s\n", HRFS_entry->HRFS_name));
+
     for (cpp = HRFS_ignores; *cpp != NULL; ++cpp)
-        if (!strcmp(HRFS_entry->HRFS_type, *cpp))
+        if (!strcmp(HRFS_entry->HRFS_type, *cpp)) {
+            DEBUGMSGTL(("host/hr_filesys", "Get_Next_HRFS: skipping %s (%s)\n", HRFS_entry->HRFS_type, cpp));
             return Get_Next_HR_FileSys();
+        }
 
     /*
      * Try and ensure that index values are persistent
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to