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 |