NET-SNMP-EXAMPLES-MIB
- Registered at
- 1.3.6.1.4.1.8072.2
- Last updated
- 2004-06-15 00:00
- Organization
- www.net-snmp.org
- Revisions
- 2004-06-15 00:00, 2002-02-06 00:00
- Namespace
- netsnmp
- Source file
NET-SNMP-EXAMPLES-MIB- Digest
sha256:d09742ad685e7a58c360adb214e2d001ef94731d98728a517db85e2fe3acd54c
Description
Example MIB objects for agent module example implementations
Contact
postal: Wes Hardaker P.O. Box 382 Davis CA 95617 email: net-snmp-coders@lists.sourceforge.net
Imports
| From | Symbols |
|---|---|
| INET-ADDRESS-MIB | InetAddress, InetAddressType |
| NET-SNMP-MIB | netSnmp |
| SNMP-FRAMEWORK-MIB | SnmpAdminString |
| SNMPv2-CONF | MODULE-COMPLIANCE, NOTIFICATION-GROUP |
| SNMPv2-SMI | Integer32, MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY, OBJECT-TYPE, iso |
| SNMPv2-TC | DisplayString, RowStatus, StorageType, TEXTUAL-CONVENTION |
Imported by
1 module(s) in this corpus import this one.
Load order
Every file a consumer needs in order to load this module, dependencies first.
INET-ADDRESS-MIB NET-SNMP-EXAMPLES-MIB NET-SNMP-MIB SNMP-FRAMEWORK-MIB SNMPv2-CONF SNMPv2-SMI SNMPv2-TC
Under this module's arcs
Where the registration tree carries on below this module.
| Arc | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.2.255 | netSnmpPassExamples | NET-SNMP-PASS-MIB |
Objects
| Name | OID | Syntax | Access | Status |
|---|---|---|---|---|
| netSnmpExampleScalars OBJECT-IDENTITY | 1.3.6.1.4.1.8072.2.1 | |||
| netSnmpExampleInteger OBJECT-TYPE 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. | 1.3.6.1.4.1.8072.2.1.1 | Integer32 | read-write | current |
| netSnmpExampleSleeper OBJECT-TYPE 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. | 1.3.6.1.4.1.8072.2.1.2 | Integer32 | read-write | current |
| netSnmpExampleString OBJECT-TYPE 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. | 1.3.6.1.4.1.8072.2.1.3 | SnmpAdminString | read-write | current |
| netSnmpExampleTables OBJECT-IDENTITY | 1.3.6.1.4.1.8072.2.2 | |||
| netSnmpIETFWGTable OBJECT-TYPE 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. | 1.3.6.1.4.1.8072.2.2.1 | not-accessible | current | |
| netSnmpIETFWGEntry OBJECT-TYPE A row describing a given working group | 1.3.6.1.4.1.8072.2.2.1.1 | not-accessible | current | |
| nsIETFWGName OBJECT-TYPE The name of the IETF Working Group this table describes. | 1.3.6.1.4.1.8072.2.2.1.1.1 | OCTET STRING (SIZE(1..32)) | not-accessible | current |
| nsIETFWGChair1 OBJECT-TYPE One of the names of the chairs for the IETF working group. | 1.3.6.1.4.1.8072.2.2.1.1.2 | OCTET STRING | read-create | current |
| nsIETFWGChair2 OBJECT-TYPE The other name, if one exists, of the chairs for the IETF working group. | 1.3.6.1.4.1.8072.2.2.1.1.3 | OCTET STRING | read-create | current |
| netSnmpHostsTable OBJECT-TYPE An example table that implements a wrapper around the /etc/hosts file on a machine using the iterator helper API. | 1.3.6.1.4.1.8072.2.2.2 | not-accessible | current | |
| netSnmpHostsEntry OBJECT-TYPE A host name mapped to an ip address | 1.3.6.1.4.1.8072.2.2.2.1 | not-accessible | current | |
| netSnmpHostName OBJECT-TYPE A host name that exists in the /etc/hosts (unix) file. | 1.3.6.1.4.1.8072.2.2.2.1.1 | OCTET STRING (SIZE(0..64)) | not-accessible | current |
| netSnmpHostAddressType OBJECT-TYPE The address type of then given host. | 1.3.6.1.4.1.8072.2.2.2.1.2 | InetAddressType | read-create | current |
| netSnmpHostAddress OBJECT-TYPE The address of then given host. | 1.3.6.1.4.1.8072.2.2.2.1.3 | InetAddress | read-create | current |
| netSnmpHostStorage OBJECT-TYPE The storage type for this conceptual row. | 1.3.6.1.4.1.8072.2.2.2.1.4 | StorageType | read-create | current |
| netSnmpHostRowStatus OBJECT-TYPE The status of this conceptual row. | 1.3.6.1.4.1.8072.2.2.2.1.5 | RowStatus | read-create | current |
| netSnmpExampleNotifications OBJECT-IDENTITY | 1.3.6.1.4.1.8072.2.3 | |||
| netSnmpExampleNotificationPrefix OBJECT-IDENTITY | 1.3.6.1.4.1.8072.2.3.0 | |||
| netSnmpExampleNotification OBJECT-TYPE This object was improperly defined for its original purpose, and should no longer be used. | 1.3.6.1.4.1.8072.2.3.1 | SnmpAdminString | accessible-for-notify | obsolete |
| netSnmpExampleNotificationObjects OBJECT-IDENTITY | 1.3.6.1.4.1.8072.2.3.2 | |||
| netSnmpExampleHeartbeatRate OBJECT-TYPE 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. | 1.3.6.1.4.1.8072.2.3.2.1 | Integer32 | accessible-for-notify | current |
| netSnmpExampleHeartbeatName OBJECT-TYPE 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. | 1.3.6.1.4.1.8072.2.3.2.2 | SnmpAdminString | accessible-for-notify | current |
Notifications
| Name | OID | Status |
|---|---|---|
| netSnmpExampleHeartbeatNotification NOTIFICATION-TYPE 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 | 1.3.6.1.4.1.8072.2.3.0.1 | current |