NET-SNMP-EXAMPLES-MIB
AI MIB Summary
The NET-SNMP-EXAMPLES-MIB provides a non-operational framework of dummy objects and counter types for validating Net-SNMP agent compilation, configuration, and data retrieval logic. It serves exclusively as a development and testing tool to verify SNMPv2c/v3 protocol interactions, rather than monitoring live hardware metrics or production services.
Example MIB objects for agent module example implementations
Main OID:
netSnmpExamples.1.3.6.1.4.1.8072.2
25
Objects
Active
Status
5
Dependencies
Imported Objects
Objects
25 total| Object Name |
|---|
netSnmpExamplesExample MIB objects for agent module example implementations MODULE-IDENTITY .1.3.6.1.4.1.8072.2 |
netSnmpExampleScalars OBJECT IDENTIFIER .1.3.6.1.4.1.8072.2.1 |
netSnmpExampleIntegerThis is a simple object which merely houses a writable integer. It's only purposes is to hold the value of a single integer. Writing to it will simply change the value for subsequent GET/GETNEXT/GETBULK retrievals. This example object is implemented in the agent/mibgroup/examples/scalar_int.c file.rw Integer32 .1.3.6.1.4.1.8072.2.1.1 |
netSnmpExampleSleeperThis is a simple object which is a basic integer. It's value indicates the number of seconds that the agent will take in responding to requests of this object. This is implemented in a way which will allow the agent to keep responding to other requests while access to this object is blocked. It is writable, and changing it's value will change the amount of time the agent will effectively wait for before returning a response when this object is manipulated. Note that SET requests through this object will take longer, since the delay is applied to each internal transaction phase, which could result in delays of up to 4 times the value of this object. This example object is implemented in the agent/mibgroup/examples/delayed_instance.c file.rw Integer32 .1.3.6.1.4.1.8072.2.1.2 |
netSnmpExampleStringThis is a simple object which merely houses a writable string. It's only purposes is to hold the value of a single string. Writing to it will simply change the value for subsequent GET/GETNEXT/GETBULK retrievals. This example object is implemented in the agent/mibgroup/examples/watched.c file.rw SnmpAdminString (SNMP-FRAMEWORK-MIB) .1.3.6.1.4.1.8072.2.1.3 |
netSnmpExampleTables OBJECT IDENTIFIER .1.3.6.1.4.1.8072.2.2 |
netSnmpIETFWGTableThis table merely contains a set of data which is otherwise useless for true network management. It is a table which describes properies about a IETF Working Group, such as the names of the two working group chairs. This example table is implemented in the agent/mibgroup/examples/data_set.c file. SEQUENCE OF NetSnmpIETFWGEntry .1.3.6.1.4.1.8072.2.2.1 |
netSnmpIETFWGEntryA row describing a given working group NetSnmpIETFWGEntry .1.3.6.1.4.1.8072.2.2.1.1 |
nsIETFWGNameThe name of the IETF Working Group this table describes. OCTET STRING .1.3.6.1.4.1.8072.2.2.1.1.1 |
nsIETFWGChair1One of the names of the chairs for the IETF working group.rw OCTET STRING .1.3.6.1.4.1.8072.2.2.1.1.2 |
nsIETFWGChair2The other name, if one exists, of the chairs for the IETF working group.rw OCTET STRING .1.3.6.1.4.1.8072.2.2.1.1.3 |
netSnmpHostsTableAn example table that implements a wrapper around the /etc/hosts file on a machine using the iterator helper API. SEQUENCE OF NetSnmpHostsEntry .1.3.6.1.4.1.8072.2.2.2 |
netSnmpHostsEntryA host name mapped to an ip address NetSnmpHostsEntry .1.3.6.1.4.1.8072.2.2.2.1 |
netSnmpHostNameA host name that exists in the /etc/hosts (unix) file. OCTET STRING .1.3.6.1.4.1.8072.2.2.2.1.1 |
netSnmpHostAddressTypeThe address type of then given host.rw InetAddressType (INET-ADDRESS-MIB) .1.3.6.1.4.1.8072.2.2.2.1.2 |
netSnmpHostAddressThe address of then given host.rw InetAddress (INET-ADDRESS-MIB) .1.3.6.1.4.1.8072.2.2.2.1.3 |
netSnmpHostStorageThe storage type for this conceptual row.rw StorageType (SNMPv2-TC) .1.3.6.1.4.1.8072.2.2.2.1.4 |
netSnmpHostRowStatusThe status of this conceptual row.rw RowStatus (SNMPv2-TC) .1.3.6.1.4.1.8072.2.2.2.1.5 |
netSnmpExampleNotifications OBJECT IDENTIFIER .1.3.6.1.4.1.8072.2.3 |
netSnmpExampleNotificationPrefix OBJECT IDENTIFIER .1.3.6.1.4.1.8072.2.3.0 |
netSnmpExampleHeartbeatNotificationAn example notification, used to illustrate the definition and generation of trap and inform PDUs (including the use of both standard and additional varbinds in the notification payload). This notification will typically be sent every 30 seconds, using the code found in the example module agent/mibgroup/examples/notification.c NOTIFICATION-TYPE .1.3.6.1.4.1.8072.2.3.0.1 |
netSnmpExampleNotificationThis object was improperly defined for its original purpose, and should no longer be used.roobsolete SnmpAdminString (SNMP-FRAMEWORK-MIB) .1.3.6.1.4.1.8072.2.3.1 |
netSnmpExampleNotificationObjects OBJECT IDENTIFIER .1.3.6.1.4.1.8072.2.3.2 |
netSnmpExampleHeartbeatRateA simple integer object, to act as a payload for the netSnmpExampleHeartbeatNotification. The value has no real meaning, but is nominally the interval (in seconds) between successive heartbeat notifications.ro Integer32 .1.3.6.1.4.1.8072.2.3.2.1 |
netSnmpExampleHeartbeatNameA simple string object, to act as an optional payload for the netSnmpExampleHeartbeatNotification. This varbind is not part of the notification definition, so is optional and need not be included in the notification payload. The value has no real meaning, but the romantically inclined may take it to be the object of the sender's affection, and hence the cause of the heart beating faster.ro SnmpAdminString (SNMP-FRAMEWORK-MIB) .1.3.6.1.4.1.8072.2.3.2.2 |