Sunday, December 14, 2008

current notes on net-snmp MIBs

Go watch them online there:
http://www.net-snmp.org/docs/mibs/
Or simply snmptranslate through shell after installing snmp-tools:


# snmptranslate -Tp SNMPv2-MIB::snmpMIB

+--snmpMIB(1)
|
+--snmpMIBObjects(1)
| |
| +--snmpTrap(4)
| | |
| | +-- ---N ObjID snmpTrapOID(1)
| | +-- ---N ObjID snmpTrapEnterprise(3)
| |
| +--snmpTraps(5)
| | |
| | +--coldStart(1)
| | +--warmStart(2)
| | +--linkDown(3)
| | +--linkUp(4)
| | +--authenticationFailure(5)
| |
| +--snmpSet(6)
| |
| +-- -RW- INTEGER snmpSetSerialNo(1)
| Textual Convention: TestAndIncr
| Range: 0..2147483647
|
+--snmpMIBConformance(2)
|
+--snmpMIBCompliances(1)
| |
| +--snmpBasicCompliance(2)
| +--snmpBasicComplianceRev2(3)
|
+--snmpMIBGroups(2)
|
+--snmpSetGroup(5)
+--systemGroup(6)
+--snmpBasicNotificationsGroup(7)
+--snmpGroup(8)
+--snmpCommunityGroup(9)
+--snmpObsoleteGroup(10)
+--snmpWarmStartNotificationGroup(11)
+--snmpNotificationGroup(12)


http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module

No comments: