
| NET-SNMP-AGENT-MIB | SNMPv2-SMI | SNMPv2-CONF |
| SNMPv2-TC |
| nsExtensions | OBJECT-TYPE | NOTIFICATION-TYPE |
| MODULE-IDENTITY | Integer32 | OBJECT-GROUP |
| NOTIFICATION-GROUP | DisplayString | RowStatus |
| StorageType |
| netSnmpExtendMIB | 1.3.6.1.4.1.8072.1.3.1 | ||
| Defines a framework for scripted extensions for the Net-SNMP agent. | |||
| MODULE-IDENTITY | |||
| nsExtendObjects | 1.3.6.1.4.1.8072.1.3.2 | ||
| OBJECT IDENTIFIER | |||
| nsExtendNumEntries | 1.3.6.1.4.1.8072.1.3.2.1 | ||
| The number of rows in the nsExtendConfigTable | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nsExtendConfigTable | 1.3.6.1.4.1.8072.1.3.2.2 | ||
| A table of scripted extensions - configuration and (basic) output. | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| NsExtendConfigEntry | |||
| nsExtendConfigEntry | 1.3.6.1.4.1.8072.1.3.2.2.1 | ||
| A conceptual row within the extension table. | |||
| OBJECT-TYPE | |||
| NsExtendConfigEntry | |||
| nsExtendToken | 1.3.6.1.4.1.8072.1.3.2.2.1.1 | ||
| An arbitrary token to identify this extension entry | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendCommand | 1.3.6.1.4.1.8072.1.3.2.2.1.2 | ||
| The full path of the command binary (or script) to run | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendArgs | 1.3.6.1.4.1.8072.1.3.2.2.1.3 | ||
| Any command-line arguments for the command | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendInput | 1.3.6.1.4.1.8072.1.3.2.2.1.4 | ||
| The standard input for the command | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendCacheTime | 1.3.6.1.4.1.8072.1.3.2.2.1.5 | ||
| 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. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nsExtendExecType | 1.3.6.1.4.1.8072.1.3.2.2.1.6 | ||
| The mechanism used to invoke the command. | |||
| OBJECT-TYPE | |||
| INTEGER | exec(1), shell(2) | ||
| nsExtendRunType | 1.3.6.1.4.1.8072.1.3.2.2.1.7 | ||
| 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'. | |||
| OBJECT-TYPE | |||
| INTEGER | run-on-read(1), run-on-set(2), run-command(3) | ||
| nsExtendStorage | 1.3.6.1.4.1.8072.1.3.2.2.1.20 | ||
| The storage type for this conceptual row. | |||
| OBJECT-TYPE | |||
| StorageType | |||
| nsExtendStatus | 1.3.6.1.4.1.8072.1.3.2.2.1.21 | ||
| 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. | |||
| OBJECT-TYPE | |||
| RowStatus | |||
| nsExtendOutput1Table | 1.3.6.1.4.1.8072.1.3.2.3 | ||
| A table of scripted extensions - configuration and (basic) output. | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| NsExtendOutput1Entry | |||
| nsExtendOutput1Entry | 1.3.6.1.4.1.8072.1.3.2.3.1 | ||
| A conceptual row within the extension table. | |||
| OBJECT-TYPE | |||
| NsExtendOutput1Entry | |||
| nsExtendOutput1Line | 1.3.6.1.4.1.8072.1.3.2.3.1.1 | ||
| The first line of output from the command | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendOutputFull | 1.3.6.1.4.1.8072.1.3.2.3.1.2 | ||
| The full output from the command, as a single string | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendOutNumLines | 1.3.6.1.4.1.8072.1.3.2.3.1.3 | ||
| The number of lines of output (and hence the number of rows in nsExtendOutputTable relating to this particular entry). | |||
| OBJECT-TYPE | |||
| Integer32 | |||
| nsExtendResult | 1.3.6.1.4.1.8072.1.3.2.3.1.4 | ||
| The return value of the command. | |||
| OBJECT-TYPE | |||
| Integer32 | |||
| nsExtendOutput2Table | 1.3.6.1.4.1.8072.1.3.2.4 | ||
| A table of (line-based) output from scripted extensions. | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| NsExtendOutput2Entry | |||
| nsExtendOutput2Entry | 1.3.6.1.4.1.8072.1.3.2.4.1 | ||
| A conceptual row within the line-based output table. | |||
| OBJECT-TYPE | |||
| NsExtendOutput2Entry | |||
| nsExtendLineIndex | 1.3.6.1.4.1.8072.1.3.2.4.1.1 | ||
| The index of this line of output. For a given nsExtendToken, this will run from 1 to the corresponding value of nsExtendNumLines. | |||
| OBJECT-TYPE | |||
| INTEGER | 1..1024 | ||
| nsExtendOutLine | 1.3.6.1.4.1.8072.1.3.2.4.1.2 | ||
| A single line of output from the extension command. | |||
| OBJECT-TYPE | |||
| DisplayString | |||
| nsExtendGroups | 1.3.6.1.4.1.8072.1.3.3 | ||
| OBJECT IDENTIFIER | |||
| nsExtendConfigGroup | 1.3.6.1.4.1.8072.1.3.3.1 | ||
| Objects relating to the configuration of extension commands. | |||
| OBJECT-GROUP | |||
| nsExtendOutputGroup | 1.3.6.1.4.1.8072.1.3.3.2 | ||
| Objects relating to the output of extension commands. | |||
| OBJECT-GROUP | |||
| NsExtendConfigEntry | |||
| SEQUENCE | |||
| DisplayString as nsExtendToken | |||
| DisplayString as nsExtendCommand | |||
| DisplayString as nsExtendArgs | |||
| DisplayString as nsExtendInput | |||
| INTEGER as nsExtendCacheTime | |||
| INTEGER as nsExtendExecType | |||
| INTEGER as nsExtendRunType | |||
| StorageType as nsExtendStorage | |||
| RowStatus as nsExtendStatus | |||
| NsExtendOutput1Entry | |||
| SEQUENCE | |||
| DisplayString as nsExtendOutput1Line | |||
| DisplayString as nsExtendOutputFull | |||
| INTEGER as nsExtendOutNumLines | |||
| INTEGER as nsExtendResult | |||
| NsExtendOutput2Entry | |||
| SEQUENCE | |||
| INTEGER as nsExtendLineIndex | |||
| DisplayString as nsExtendOutLine | |||