On 26 November 2010 08:52, sujata patra <[email protected]> wrote: > net-snmp/agent/mibgroup/hardware/cpu/cpu.c file show that it is registering > oid { 1, 3, 6, 1, 4, 1, 8072, 1, 33 }.
Not quite. It is using that OID as an index value, when registering the CPU hardware module within the nsCacheTable. This can then be used for controlling how long the CPU statistics are cached for. But it's not registering any MIB objects underneath that OID. Remember that the 'hardware' subtree is not typically used for implementing MIB modules directly. It provides a common source of shared statistics for other MIB modules, such as the Host Resources MIB, or the UCD-SNMP cpu-related systemStats. > Where is the mib file ? There is no MIB file for this object. (Well, strictly speaking it's defined as NET-SNMP-SYSTEM::nsCPU. But there are no real MIB objects defined as part of this tree - it's currently just a placeholder.) Dave ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
