NET-SNMP-EXTEND-MIB
net-snmpDefines a framework for scripted extensions for the Net-SNMP agent.
snmptranslate -m NET-SNMP-EXTEND-MIB -Tpsnmpwalk -v2c -c <community> -m NET-SNMP-EXTEND-MIB <host> 1.3.6.1.4.1.8072.1.3.1Imports
| NET-SNMP-AGENT-MIB | nsExtensions |
|---|---|
| SNMPv2-CONF | MODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP |
| SNMPv2-SMI | Bits, Integer32, IpAddress, MODULE-IDENTITY, MibIdentifier, NOTIFICATION-TYPE, OBJECT-IDENTITY, OBJECT-TYPE, TimeTicks, Unsigned32, iso |
| SNMPv2-TC | DisplayString, PhysAddress, RowStatus, StorageType, TEXTUAL-CONVENTION |
OID tree
| Name | OID | Type | Access | Status | Example | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| InetSnmpExtendMIB | 1.3.6.1.4.1.8072.1.3.1 | ||||||||||||||||||||
identity Defines a framework for scripted extensions for the Net-SNMP agent. | |||||||||||||||||||||
| NnsExtendObjects | 1.3.6.1.4.1.8072.1.3.2 | ||||||||||||||||||||
| SnsExtendNumEntries | 1.3.6.1.4.1.8072.1.3.2.1 | INTEGER | RO | 0 | |||||||||||||||||
scalar · INTEGER · read-only · current The number of rows in the nsExtendConfigTable Example values from LibreNMS test devices
| |||||||||||||||||||||
| TnsExtendConfigTable | 1.3.6.1.4.1.8072.1.3.2.2 | NA | |||||||||||||||||||
table · not-accessible · current A table of scripted extensions - configuration and (basic) output. | |||||||||||||||||||||
| RnsExtendConfigEntry | 1.3.6.1.4.1.8072.1.3.2.2.1 | NA | |||||||||||||||||||
| CnsExtendToken | 1.3.6.1.4.1.8072.1.3.2.2.1.1 | DisplayString | NA | ||||||||||||||||||
column · DisplayString · not-accessible · current An arbitrary token to identify this extension entry | |||||||||||||||||||||
| CnsExtendCommand | 1.3.6.1.4.1.8072.1.3.2.2.1.2 | DisplayString | RC | ||||||||||||||||||
column · DisplayString · read-create · current The full path of the command binary (or script) to run | |||||||||||||||||||||
| CnsExtendArgs | 1.3.6.1.4.1.8072.1.3.2.2.1.3 | DisplayString | RC | Asus RT-N66U | |||||||||||||||||
column · DisplayString · read-create · current Any command-line arguments for the command Example values from LibreNMS test devices
| |||||||||||||||||||||
| CnsExtendInput | 1.3.6.1.4.1.8072.1.3.2.2.1.4 | DisplayString | RC | ||||||||||||||||||
column · DisplayString · read-create · current The standard input for the command | |||||||||||||||||||||
| CnsExtendCacheTime | 1.3.6.1.4.1.8072.1.3.2.2.1.5 | INTEGER | RC | ||||||||||||||||||
column · INTEGER · read-create · current The 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. | |||||||||||||||||||||
| CnsExtendExecType | 1.3.6.1.4.1.8072.1.3.2.2.1.6 | INTEGER | RC | ||||||||||||||||||
column · INTEGER · read-create · current The mechanism used to invoke the command.
| |||||||||||||||||||||
| CnsExtendRunType | 1.3.6.1.4.1.8072.1.3.2.2.1.7 | INTEGER | RC | ||||||||||||||||||
column · INTEGER · read-create · current Used 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'.
| |||||||||||||||||||||
| CnsExtendStorage | 1.3.6.1.4.1.8072.1.3.2.2.1.20 | StorageType | RC | ||||||||||||||||||
column · StorageType · read-create · current The storage type for this conceptual row. | |||||||||||||||||||||
| CnsExtendStatus | 1.3.6.1.4.1.8072.1.3.2.2.1.21 | RowStatus | RC | 1 | |||||||||||||||||
column · RowStatus · read-create · current Used 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. Example values from LibreNMS test devices
| |||||||||||||||||||||
| TnsExtendOutput1Table | 1.3.6.1.4.1.8072.1.3.2.3 | NA | |||||||||||||||||||
table · not-accessible · current A table of scripted extensions - configuration and (basic) output. | |||||||||||||||||||||
| RnsExtendOutput1Entry | 1.3.6.1.4.1.8072.1.3.2.3.1 | NA | |||||||||||||||||||
row · not-accessible · current A conceptual row within the extension table.
| |||||||||||||||||||||
| CnsExtendOutput1Line | 1.3.6.1.4.1.8072.1.3.2.3.1.1 | DisplayString | RO | 4 | |||||||||||||||||
column · DisplayString · read-only · current The first line of output from the command Example values from LibreNMS test devices
| |||||||||||||||||||||
| CnsExtendOutputFull | 1.3.6.1.4.1.8072.1.3.2.3.1.2 | DisplayString | RO | eth1,wl-2.4G
eth2,wl-5.0G | |||||||||||||||||
column · DisplayString · read-only · current The full output from the command, as a single string Example values from LibreNMS test devices
| |||||||||||||||||||||
| CnsExtendOutNumLines | 1.3.6.1.4.1.8072.1.3.2.3.1.3 | Integer32 | RO | ||||||||||||||||||
column · Integer32 · read-only · current The number of lines of output (and hence the number of rows in nsExtendOutputTable relating to this particular entry). | |||||||||||||||||||||
| CnsExtendResult | 1.3.6.1.4.1.8072.1.3.2.3.1.4 | Integer32 | RO | ||||||||||||||||||
column · Integer32 · read-only · current The return value of the command. | |||||||||||||||||||||
| TnsExtendOutput2Table | 1.3.6.1.4.1.8072.1.3.2.4 | NA | |||||||||||||||||||
table · not-accessible · current A table of (line-based) output from scripted extensions. | |||||||||||||||||||||
| RnsExtendOutput2Entry | 1.3.6.1.4.1.8072.1.3.2.4.1 | NA | |||||||||||||||||||
row · not-accessible · current A conceptual row within the line-based output table. | |||||||||||||||||||||
| CnsExtendLineIndex | 1.3.6.1.4.1.8072.1.3.2.4.1.1 | INTEGER (1..1024) | NA | ||||||||||||||||||
column · INTEGER (1..1024) · not-accessible · current The index of this line of output. For a given nsExtendToken, this will run from 1 to the corresponding value of nsExtendNumLines. | |||||||||||||||||||||
| CnsExtendOutLine | 1.3.6.1.4.1.8072.1.3.2.4.1.2 | DisplayString | RO | 18 | |||||||||||||||||
column · DisplayString · read-only · current A single line of output from the extension command. Example values from LibreNMS test devices
| |||||||||||||||||||||
| NnsExtendGroups | 1.3.6.1.4.1.8072.1.3.3 | ||||||||||||||||||||
| GnsExtendConfigGroup | 1.3.6.1.4.1.8072.1.3.3.1 | ||||||||||||||||||||
group · current Objects relating to the configuration of extension commands. | |||||||||||||||||||||
| GnsExtendOutputGroup | 1.3.6.1.4.1.8072.1.3.3.2 | ||||||||||||||||||||
group · current Objects relating to the output of extension commands. | |||||||||||||||||||||