NET-SNMP-EXAMPLES-MIB

File: NET-SNMP-EXAMPLES-MIB.mib (9445 bytes)

Imported modules

SNMPv2-SMI SNMP-FRAMEWORK-MIB NET-SNMP-MIB
SNMPv2-TC INET-ADDRESS-MIB

Imported symbols

MODULE-IDENTITY OBJECT-TYPE Integer32
NOTIFICATION-TYPE SnmpAdminString netSnmp
RowStatus StorageType InetAddressType
InetAddress

Defined Objects

netSnmpExamples 1.3.6.1.4.1.8072.2
Example MIB objects for agent module example implementations
MODULE-IDENTITY    

netSnmpExampleScalars 1.3.6.1.4.1.8072.2.1
OBJECT IDENTIFIER    

netSnmpExampleInteger 1.3.6.1.4.1.8072.2.1.1
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.
OBJECT-TYPE    
  Integer32  

netSnmpExampleSleeper 1.3.6.1.4.1.8072.2.1.2
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.
OBJECT-TYPE    
  Integer32  

netSnmpExampleString 1.3.6.1.4.1.8072.2.1.3
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.
OBJECT-TYPE    
  SnmpAdminString  

netSnmpExampleTables 1.3.6.1.4.1.8072.2.2
OBJECT IDENTIFIER    

netSnmpIETFWGTable 1.3.6.1.4.1.8072.2.2.1
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.
OBJECT-TYPE    
  SEQUENCE OF  
    NetSnmpIETFWGEntry

netSnmpIETFWGEntry 1.3.6.1.4.1.8072.2.2.1.1
A row describing a given working group
OBJECT-TYPE    
  NetSnmpIETFWGEntry  

nsIETFWGName 1.3.6.1.4.1.8072.2.2.1.1.1
The name of the IETF Working Group this table describes.
OBJECT-TYPE    
  OCTET STRING SIZE(1..32)  

nsIETFWGChair1 1.3.6.1.4.1.8072.2.2.1.1.2
One of the names of the chairs for the IETF working group.
OBJECT-TYPE    
  OCTET STRING  

nsIETFWGChair2 1.3.6.1.4.1.8072.2.2.1.1.3
The other name, if one exists, of the chairs for the IETF working group.
OBJECT-TYPE    
  OCTET STRING  

netSnmpHostsTable 1.3.6.1.4.1.8072.2.2.2
An example table that implements a wrapper around the /etc/hosts file on a machine using the iterator helper API.
OBJECT-TYPE    
  SEQUENCE OF  
    NetSnmpHostsEntry

netSnmpHostsEntry 1.3.6.1.4.1.8072.2.2.2.1
A host name mapped to an ip address
OBJECT-TYPE    
  NetSnmpHostsEntry  

netSnmpHostName 1.3.6.1.4.1.8072.2.2.2.1.1
A host name that exists in the /etc/hosts (unix) file.
OBJECT-TYPE    
  OCTET STRING SIZE(0..64)  

netSnmpHostAddressType 1.3.6.1.4.1.8072.2.2.2.1.2
The address type of then given host.
OBJECT-TYPE    
  InetAddressType  

netSnmpHostAddress 1.3.6.1.4.1.8072.2.2.2.1.3
The address of then given host.
OBJECT-TYPE    
  InetAddress  

netSnmpHostStorage 1.3.6.1.4.1.8072.2.2.2.1.4
The storage type for this conceptual row.
OBJECT-TYPE    
  StorageType  

netSnmpHostRowStatus 1.3.6.1.4.1.8072.2.2.2.1.5
The status of this conceptual row.
OBJECT-TYPE    
  RowStatus  

netSnmpExampleNotifications 1.3.6.1.4.1.8072.2.3
OBJECT IDENTIFIER    

netSnmpExampleNotificationPrefix 1.3.6.1.4.1.8072.2.3.0
OBJECT IDENTIFIER    

netSnmpExampleHeartbeatNotification 1.3.6.1.4.1.8072.2.3.0.1
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
NOTIFICATION-TYPE    
  netSnmpExampleHeartbeatRate  

netSnmpExampleNotification 1.3.6.1.4.1.8072.2.3.1
This object was improperly defined for its original purpose, and should no longer be used.
OBJECT-TYPE    
  SnmpAdminString  

netSnmpExampleNotificationObjects 1.3.6.1.4.1.8072.2.3.2
OBJECT IDENTIFIER    

netSnmpExampleHeartbeatRate 1.3.6.1.4.1.8072.2.3.2.1
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.
OBJECT-TYPE    
  Integer32  

netSnmpExampleHeartbeatName 1.3.6.1.4.1.8072.2.3.2.2
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.
OBJECT-TYPE    
  SnmpAdminString  

Defined Objects

NetSnmpIETFWGEntry  
SEQUENCE    
  OCTET STRING as nsIETFWGName  
  OCTET STRING as nsIETFWGChair1  
  OCTET STRING as nsIETFWGChair2  

NetSnmpHostsEntry  
SEQUENCE    
  OCTET STRING as netSnmpHostName  
  InetAddressType as netSnmpHostAddressType  
  InetAddress as netSnmpHostAddress  
  StorageType as netSnmpHostStorage  
  RowStatus as netSnmpHostRowStatus