Re: the ipSystemStatsInOctets object in linux
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 08/01/2008, Catalin Mihai Popa <[email protected]> wrote: > So am I supposed to access that ipSystemStatsInOctets scalar or not ? > If I am, how to enable it. Checking the code, it appears that this particular entry is explicitly omitted from the list of valid MIB objects. I'll check with the author of this module as to whether this is deliberate (and why the HC version is handled differently). If you want to enable this, then have a look at the file agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable_data_access.c and look for the array 'my_columns' (around line 61). The entry for COLUMN_IPSTATSINOCTETS is commented out. If you uncomment this and re-compile, then this entry should appear in the snmpwalk output. One note of warning - enabling this column does not mean that the agent will automatically return the appropriate value. If there isn't any code to retrieve the correct value from the kernel, then the agent won't give you the right answers. My suspicion is that the ipStatsInOctets and ipStatsHCInOctets objects are probably not implemented, and should *both* be omitted from the snmpwalk output. But I'll check with Robert. Dave ------------------------------------------------------------------------- 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