Home/Catalog/NET-SNMP-EXTEND-MIB

NET-SNMP-EXTEND-MIB

AI MIB Summary

The NET-SNMP-EXTEND-MIB enables the Net-SNMP agent to execute external scripts and return their output as SNMP objects, allowing administrators to monitor custom-defined metrics such as script exit codes, process status, or arbitrary system data not covered by standard MIBs.

Defines a framework for scripted extensions for the Net-SNMP agent.
Main OID:
netSnmpExtendMIB.1.3.6.1.4.1.8072.1.3.1
27
Objects
Active
Status
4
Dependencies

Imported Objects

Objects

27 total
Object Name
netSnmpExtendMIBDefines a framework for scripted extensions for the Net-SNMP agent.
MODULE-IDENTITY
.1.3.6.1.4.1.8072.1.3.1
nsExtendObjects
OBJECT IDENTIFIER
.1.3.6.1.4.1.8072.1.3.2
nsExtendNumEntriesThe number of rows in the nsExtendConfigTablero
INTEGER
.1.3.6.1.4.1.8072.1.3.2.1
nsExtendConfigTableA table of scripted extensions - configuration and (basic) output.
SEQUENCE OF NsExtendConfigEntry
.1.3.6.1.4.1.8072.1.3.2.2
nsExtendConfigEntryA conceptual row within the extension table.
NsExtendConfigEntry
.1.3.6.1.4.1.8072.1.3.2.2.1
nsExtendTokenAn arbitrary token to identify this extension entry
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.2.1.1
nsExtendCommandThe full path of the command binary (or script) to runrw
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.2.1.2
nsExtendArgsAny command-line arguments for the commandrw
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.2.1.3
nsExtendInputThe standard input for the commandrw
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.2.1.4
nsExtendCacheTimeThe length of time for which the output of this command will be cached. During this time, retrieving the output-related values will not reinvoke the command. A value of -1 indicates that the output results should not be cached at all, and retrieving each individual output-related value will invoke the command afresh.rw
INTEGER
.1.3.6.1.4.1.8072.1.3.2.2.1.5
nsExtendExecTypeThe mechanism used to invoke the command.rw
Enumeration
.1.3.6.1.4.1.8072.1.3.2.2.1.6
nsExtendRunTypeUsed to implement 'push-button' command invocation. The command for a 'run-on-read' entry will be invoked whenever one of the corresponding output-related instances is requested (and assuming the cached value is not still current). The command for a 'run-on-set' entry will only be invoked on receipt of a SET assignment for this object with the value 'run-command'. Reading an instance of this object will always return either 'run-on-read' or 'run-on-set'.rw
Enumeration
.1.3.6.1.4.1.8072.1.3.2.2.1.7
nsExtendStorageThe storage type for this conceptual row.rw
StorageType (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.2.1.20
nsExtendStatusUsed to create new rows in the table, in the standard manner. Note that is valid for an instance to be left with the value notInService(2) indefinitely - i.e. the meaning of 'abnormally long' (see RFC 2579, RowStatus) for this table is infinite.rw
RowStatus (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.2.1.21
nsExtendOutput1TableA table of scripted extensions - configuration and (basic) output.
SEQUENCE OF NsExtendOutput1Entry
.1.3.6.1.4.1.8072.1.3.2.3
nsExtendOutput1EntryA conceptual row within the extension table.
NsExtendOutput1Entry
.1.3.6.1.4.1.8072.1.3.2.3.1
nsExtendOutput1LineThe first line of output from the commandro
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.3.1.1
nsExtendOutputFullThe full output from the command, as a single stringro
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.3.1.2
nsExtendOutNumLinesThe number of lines of output (and hence the number of rows in nsExtendOutputTable relating to this particular entry).ro
Integer32
.1.3.6.1.4.1.8072.1.3.2.3.1.3
nsExtendResultThe return value of the command.ro
Integer32
.1.3.6.1.4.1.8072.1.3.2.3.1.4
nsExtendOutput2TableA table of (line-based) output from scripted extensions.
SEQUENCE OF NsExtendOutput2Entry
.1.3.6.1.4.1.8072.1.3.2.4
nsExtendOutput2EntryA conceptual row within the line-based output table.
NsExtendOutput2Entry
.1.3.6.1.4.1.8072.1.3.2.4.1
nsExtendLineIndexThe index of this line of output. For a given nsExtendToken, this will run from 1 to the corresponding value of nsExtendNumLines.
INTEGER
.1.3.6.1.4.1.8072.1.3.2.4.1.1
nsExtendOutLineA single line of output from the extension command.ro
DisplayString (SNMPv2-TC)
.1.3.6.1.4.1.8072.1.3.2.4.1.2
nsExtendGroups
OBJECT IDENTIFIER
.1.3.6.1.4.1.8072.1.3.3
nsExtendConfigGroupObjects relating to the configuration of extension commands.
Unknown
.1.3.6.1.4.1.8072.1.3.3.1
nsExtendOutputGroupObjects relating to the output of extension commands.
Unknown
.1.3.6.1.4.1.8072.1.3.3.2

More MIBs from Net-SNMP

Browse all Net-SNMPMIBs →
NET-SNMP-AGENT-MIB

The NET-SNMP-AGENT-MIB provides the control and monitoring structures for the Net-SNMP daemon itself, exposing internal agent metrics such as configuration state, session statistics, and error counters. It enables administrators to manage the operational status and behavior of the Net-SNMP agent process rather than monitoring external hardware or network protocols.

55 objects→
NET-SNMP-TC

NET-SNMP-TC defines the standardized textual conventions and enumerations required by Net-SNMP agents to encode specific data types, such as interface status, IP address formats, and counter values, ensuring consistent interpretation across diverse network management systems. These definitions serve as the foundational data structures for all Net-SNMP managed objects, enabling precise monitoring of device states, traffic statistics, and protocol parameters without requiring vendor-specific extensions.

30 objects→
NET-SNMP-EXAMPLES-MIB

The NET-SNMP-EXAMPLES-MIB provides a non-operational framework of dummy objects and counter types for validating Net-SNMP agent compilation, configuration, and data retrieval logic. It serves exclusively as a development and testing tool to verify SNMPv2c/v3 protocol interactions, rather than monitoring live hardware metrics or production services.

25 objects→
DIRECTORY-MONITOR-MIB

The DIRECTORY-MONITOR-MIB facilitates the monitoring of directory service instances, specifically tracking operational metrics such as server availability, replication status, and active connection counts for LDAP-based directory servers. It enables administrators to detect service degradation or failures within directory infrastructure by exposing real-time performance counters and state transitions.

15 objects→
NET-SNMP-MIB

The NET-SNMP-MIB module provides the foundational infrastructure for the Net-SNMP project, exposing internal agent state variables such as configuration status, cache statistics, and agent initialization parameters. It serves as the core management interface for monitoring the operational health and runtime metrics of the Net-SNMP daemon itself rather than external network hardware or third-party protocols.

14 objects→
NET-SNMP-PASS-MIB

The NET-SNMP-PASS-MIB provides a framework for extending the Net-SNMP daemon via external pass and pass-persist scripts to dynamically generate custom OID values or execute arbitrary system commands. This module enables the monitoring of non-standard metrics by allowing administrators to define script-based handlers that return real-time data or perform stateful actions in response to SNMP queries.

12 objects→