All MIBs › NET-SNMP-TUTORIAL-MIB › nstAgentModuleObject
nstAgentModuleObject
Module: NET-SNMP-TUTORIAL-MIB
OID (symbolic): NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject
OID (numeric): 1.3.6.1.4.1.8072.2.4.1.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: This is an object that simply supports a writable integer when compiled into the agent. See http://www.net-snmp.org/tutorial-5/toolkit/XXX for further implementation details.
What is nstAgentModuleObject?
This is a simple demonstration object from the Net-SNMP tutorial MIB, existing purely to show how a basic writable integer object behaves when compiled directly into the SNMP agent, with no real operational meaning of its own. An admin, in practice a developer following the tutorial, sets and reads this value just to confirm their compiled-in module implementation is working correctly. For example, writing the value 42 to nstAgentModuleObject and reading it back as 42 confirms the tutorial module is correctly wired into the agent, overriding its default of 1.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.2.4.1.1.1 snmpwalk -v2c -c public <target> NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.2.4.1.1.1.1 snmpget -v2c -c public <target> NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.2.4.1.1.1.1 i <value>
Start monitoring Net-SNMP agent tutorial/training exercise (demonstration module) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject OID value, configure state conditions and alerts, and monitor any Net-SNMP agent tutorial/training exercise (demonstration module) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.8072 | netSnmp | NET-SNMP-MIB |
| 1.3.6.1.4.1.8072.2 | netSnmpExamples | NET-SNMP-EXAMPLES-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.2.4 | netSnmpTutorialMIB | NET-SNMP-TUTORIAL-MIB |
| 1.3.6.1.4.1.8072.2.4.1 | nstMIBObjects | NET-SNMP-TUTORIAL-MIB |
| 1.3.6.1.4.1.8072.2.4.1.1 | nstAgentModules | NET-SNMP-TUTORIAL-MIB |
| 1.3.6.1.4.1.8072.2.4.1.1.1 | nstAgentModuleObject | NET-SNMP-TUTORIAL-MIB |