NET-SNMP-EXAMPLES-MIB
net-snmpExample MIB objects for agent module example implementations
snmptranslate -m NET-SNMP-EXAMPLES-MIB -Tpsnmpwalk -v2c -c <community> -m NET-SNMP-EXAMPLES-MIB <host> 1.3.6.1.4.1.8072.2Imports
| INET-ADDRESS-MIB | InetAddress, InetAddressType |
|---|---|
| NET-SNMP-MIB | netSnmp |
| SNMP-FRAMEWORK-MIB | SnmpAdminString |
| SNMPv2-CONF | MODULE-COMPLIANCE, NOTIFICATION-GROUP |
| SNMPv2-SMI | Bits, Integer32, IpAddress, MODULE-IDENTITY, MibIdentifier, NOTIFICATION-TYPE, OBJECT-IDENTITY, OBJECT-TYPE, TimeTicks, Unsigned32, iso |
| SNMPv2-TC | DisplayString, PhysAddress, RowStatus, StorageType, TEXTUAL-CONVENTION |
OID tree
| Name | OID | Type | Access | Status |
|---|---|---|---|---|
| InetSnmpExamples | 1.3.6.1.4.1.8072.2 | |||
identity Example MIB objects for agent module example implementations | ||||
| NnetSnmpExampleScalars | 1.3.6.1.4.1.8072.2.1 | |||
| SnetSnmpExampleInteger | 1.3.6.1.4.1.8072.2.1.1 | Integer32 | RW | |
scalar · Integer32 · read-write · current This 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. | ||||
| SnetSnmpExampleSleeper | 1.3.6.1.4.1.8072.2.1.2 | Integer32 | RW | |
scalar · Integer32 · read-write · current This 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. | ||||
| SnetSnmpExampleString | 1.3.6.1.4.1.8072.2.1.3 | SnmpAdminString | RW | |
scalar · SnmpAdminString · read-write · current This 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. | ||||
| NnetSnmpExampleTables | 1.3.6.1.4.1.8072.2.2 | |||
| TnetSnmpIETFWGTable | 1.3.6.1.4.1.8072.2.2.1 | NA | ||
table · not-accessible · current This 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. | ||||
| RnetSnmpIETFWGEntry | 1.3.6.1.4.1.8072.2.2.1.1 | NA | ||
| CnsIETFWGName | 1.3.6.1.4.1.8072.2.2.1.1.1 | OCTET STRING (SIZE (1..32)) | NA | |
column · OCTET STRING (SIZE (1..32)) · not-accessible · current The name of the IETF Working Group this table describes. | ||||
| CnsIETFWGChair1 | 1.3.6.1.4.1.8072.2.2.1.1.2 | OCTET STRING | RC | |
column · OCTET STRING · read-create · current One of the names of the chairs for the IETF working group. | ||||
| CnsIETFWGChair2 | 1.3.6.1.4.1.8072.2.2.1.1.3 | OCTET STRING | RC | |
column · OCTET STRING · read-create · current The other name, if one exists, of the chairs for the IETF working group. | ||||
| TnetSnmpHostsTable | 1.3.6.1.4.1.8072.2.2.2 | NA | ||
table · not-accessible · current An example table that implements a wrapper around the /etc/hosts file on a machine using the iterator helper API. | ||||
| RnetSnmpHostsEntry | 1.3.6.1.4.1.8072.2.2.2.1 | NA | ||
| CnetSnmpHostName | 1.3.6.1.4.1.8072.2.2.2.1.1 | OCTET STRING (SIZE (0..64)) | NA | |
column · OCTET STRING (SIZE (0..64)) · not-accessible · current A host name that exists in the /etc/hosts (unix) file. | ||||
| CnetSnmpHostAddressType | 1.3.6.1.4.1.8072.2.2.2.1.2 | InetAddressType | RC | |
column · InetAddressType · read-create · current The address type of then given host. | ||||
| CnetSnmpHostAddress | 1.3.6.1.4.1.8072.2.2.2.1.3 | InetAddress | RC | |
column · InetAddress · read-create · current The address of then given host. | ||||
| CnetSnmpHostStorage | 1.3.6.1.4.1.8072.2.2.2.1.4 | StorageType | RC | |
column · StorageType · read-create · current The storage type for this conceptual row. | ||||
| CnetSnmpHostRowStatus | 1.3.6.1.4.1.8072.2.2.2.1.5 | RowStatus | RC | |
column · RowStatus · read-create · current The status of this conceptual row. | ||||
| NnetSnmpExampleNotifications | 1.3.6.1.4.1.8072.2.3 | |||
| NnetSnmpExampleNotificationPrefix | 1.3.6.1.4.1.8072.2.3.0 | |||
| !netSnmpExampleHeartbeatNotification | 1.3.6.1.4.1.8072.2.3.0.1 | |||
notification · current An 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
| ||||
| SnetSnmpExampleNotification | 1.3.6.1.4.1.8072.2.3.1 | SnmpAdminString | AN | obsolete |
scalar · SnmpAdminString · accessible-for-notify · obsolete This object was improperly defined for its original purpose, and should no longer be used. | ||||
| NnetSnmpExampleNotificationObjects | 1.3.6.1.4.1.8072.2.3.2 | |||
| SnetSnmpExampleHeartbeatRate | 1.3.6.1.4.1.8072.2.3.2.1 | Integer32 | AN | |
scalar · Integer32 · accessible-for-notify · current A 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. | ||||
| SnetSnmpExampleHeartbeatName | 1.3.6.1.4.1.8072.2.3.2.2 | SnmpAdminString | AN | |
scalar · SnmpAdminString · accessible-for-notify · current A 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. | ||||
Traps / Notifications
- netSnmpExampleHeartbeatNotification
1.3.6.1.4.1.8072.2.3.0.1