MIBs Depot

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

FromSymbols
INET-ADDRESS-MIBInetAddress, InetAddressType
NET-SNMP-MIBnetSnmp
SNMP-FRAMEWORK-MIBSnmpAdminString
SNMPv2-CONFMODULE-COMPLIANCE, NOTIFICATION-GROUP
SNMPv2-SMIInteger32, MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY, OBJECT-TYPE, iso
SNMPv2-TCDisplayString, 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.

ArcNameModule
1.3.6.1.4.1.8072.2.255netSnmpPassExamplesNET-SNMP-PASS-MIB

Objects

NameOIDSyntaxAccessStatus
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.1Integer32read-writecurrent
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.2Integer32read-writecurrent
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.3SnmpAdminStringread-writecurrent
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.1not-accessiblecurrent
netSnmpIETFWGEntry
OBJECT-TYPE
A row describing a given working group
1.3.6.1.4.1.8072.2.2.1.1not-accessiblecurrent
nsIETFWGName
OBJECT-TYPE
The name of the IETF Working Group this table describes.
1.3.6.1.4.1.8072.2.2.1.1.1OCTET STRING (SIZE(1..32))not-accessiblecurrent
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.2OCTET STRINGread-createcurrent
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.3OCTET STRINGread-createcurrent
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.2not-accessiblecurrent
netSnmpHostsEntry
OBJECT-TYPE
A host name mapped to an ip address
1.3.6.1.4.1.8072.2.2.2.1not-accessiblecurrent
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.1OCTET STRING (SIZE(0..64))not-accessiblecurrent
netSnmpHostAddressType
OBJECT-TYPE
The address type of then given host.
1.3.6.1.4.1.8072.2.2.2.1.2InetAddressTyperead-createcurrent
netSnmpHostAddress
OBJECT-TYPE
The address of then given host.
1.3.6.1.4.1.8072.2.2.2.1.3InetAddressread-createcurrent
netSnmpHostStorage
OBJECT-TYPE
The storage type for this conceptual row.
1.3.6.1.4.1.8072.2.2.2.1.4StorageTyperead-createcurrent
netSnmpHostRowStatus
OBJECT-TYPE
The status of this conceptual row.
1.3.6.1.4.1.8072.2.2.2.1.5RowStatusread-createcurrent
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.1SnmpAdminStringaccessible-for-notifyobsolete
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.1Integer32accessible-for-notifycurrent
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.2SnmpAdminStringaccessible-for-notifycurrent

Notifications

NameOIDStatus
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.1current