MIBs Depot

NET-SNMP-EXTEND-MIB

Registered at
1.3.6.1.4.1.8072.1.3.1
1.3.6.1.4.1.8072.1.3.2
1.3.6.1.4.1.8072.1.3.3
Last updated
2010-03-17 00:00
Organization
www.net-snmp.org
Revisions
2010-03-17 00:00, 2004-05-08 00:00
Namespace
netsnmp
Source file
NET-SNMP-EXTEND-MIB
Digest
sha256:a3cedfdd2fd7973fb62ff62048cef3b92316254de1ce3f6e508fccd6afb421ae

Description

Defines a framework for scripted extensions for the Net-SNMP agent.

Contact

postal: Wes Hardaker P.O. Box 382 Davis CA 95617 email: net-snmp-coders@lists.sourceforge.net

Imports

FromSymbols
NET-SNMP-AGENT-MIBnsExtensions
SNMPv2-CONFMODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP
SNMPv2-SMIInteger32, MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY, OBJECT-TYPE, iso
SNMPv2-TCDisplayString, RowStatus, StorageType, TEXTUAL-CONVENTION

Imported by

Nothing in this corpus imports this module.

Load order

Every file a consumer needs in order to load this module, dependencies first.

NET-SNMP-AGENT-MIB
NET-SNMP-EXTEND-MIB
NET-SNMP-MIB
SNMP-FRAMEWORK-MIB
SNMPv2-CONF
SNMPv2-SMI
SNMPv2-TC

Objects

NameOIDSyntaxAccessStatus
nsExtendObjects
OBJECT-IDENTITY
1.3.6.1.4.1.8072.1.3.2
nsExtendNumEntries
OBJECT-TYPE
The number of rows in the nsExtendConfigTable
1.3.6.1.4.1.8072.1.3.2.1INTEGERread-onlycurrent
nsExtendConfigTable
OBJECT-TYPE
A table of scripted extensions - configuration and (basic) output.
1.3.6.1.4.1.8072.1.3.2.2not-accessiblecurrent
nsExtendConfigEntry
OBJECT-TYPE
A conceptual row within the extension table.
1.3.6.1.4.1.8072.1.3.2.2.1not-accessiblecurrent
nsExtendToken
OBJECT-TYPE
An arbitrary token to identify this extension entry
1.3.6.1.4.1.8072.1.3.2.2.1.1DisplayStringnot-accessiblecurrent
nsExtendCommand
OBJECT-TYPE
The full path of the command binary (or script) to run
1.3.6.1.4.1.8072.1.3.2.2.1.2DisplayStringread-createcurrent
nsExtendArgs
OBJECT-TYPE
Any command-line arguments for the command
1.3.6.1.4.1.8072.1.3.2.2.1.3DisplayStringread-createcurrent
nsExtendInput
OBJECT-TYPE
The standard input for the command
1.3.6.1.4.1.8072.1.3.2.2.1.4DisplayStringread-createcurrent
nsExtendCacheTime
OBJECT-TYPE
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.
1.3.6.1.4.1.8072.1.3.2.2.1.5INTEGERread-createcurrent
nsExtendExecType
OBJECT-TYPE
The mechanism used to invoke the command.
1.3.6.1.4.1.8072.1.3.2.2.1.6INTEGER {exec(1), shell(2)}read-createcurrent
nsExtendRunType
OBJECT-TYPE
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'.
1.3.6.1.4.1.8072.1.3.2.2.1.7INTEGER {run-on-read(1), run-on-set(2), run-command(3)}read-createcurrent
nsExtendStorage
OBJECT-TYPE
The storage type for this conceptual row.
1.3.6.1.4.1.8072.1.3.2.2.1.20StorageTyperead-createcurrent
nsExtendStatus
OBJECT-TYPE
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.
1.3.6.1.4.1.8072.1.3.2.2.1.21RowStatusread-createcurrent
nsExtendOutput1Table
OBJECT-TYPE
A table of scripted extensions - configuration and (basic) output.
1.3.6.1.4.1.8072.1.3.2.3not-accessiblecurrent
nsExtendOutput1Entry
OBJECT-TYPE
A conceptual row within the extension table.
1.3.6.1.4.1.8072.1.3.2.3.1not-accessiblecurrent
nsExtendOutput1Line
OBJECT-TYPE
The first line of output from the command
1.3.6.1.4.1.8072.1.3.2.3.1.1DisplayStringread-onlycurrent
nsExtendOutputFull
OBJECT-TYPE
The full output from the command, as a single string
1.3.6.1.4.1.8072.1.3.2.3.1.2DisplayStringread-onlycurrent
nsExtendOutNumLines
OBJECT-TYPE
The number of lines of output (and hence the number of rows in nsExtendOutputTable relating to this particular entry).
1.3.6.1.4.1.8072.1.3.2.3.1.3Integer32read-onlycurrent
nsExtendResult
OBJECT-TYPE
The return value of the command.
1.3.6.1.4.1.8072.1.3.2.3.1.4Integer32read-onlycurrent
nsExtendOutput2Table
OBJECT-TYPE
A table of (line-based) output from scripted extensions.
1.3.6.1.4.1.8072.1.3.2.4not-accessiblecurrent
nsExtendOutput2Entry
OBJECT-TYPE
A conceptual row within the line-based output table.
1.3.6.1.4.1.8072.1.3.2.4.1not-accessiblecurrent
nsExtendLineIndex
OBJECT-TYPE
The index of this line of output. For a given nsExtendToken, this will run from 1 to the corresponding value of nsExtendNumLines.
1.3.6.1.4.1.8072.1.3.2.4.1.1INTEGER (1..1024)not-accessiblecurrent
nsExtendOutLine
OBJECT-TYPE
A single line of output from the extension command.
1.3.6.1.4.1.8072.1.3.2.4.1.2DisplayStringread-onlycurrent
nsExtendGroups
OBJECT-IDENTITY
1.3.6.1.4.1.8072.1.3.3

Conformance

NameOIDStatus
nsExtendConfigGroup
OBJECT-GROUP
Objects relating to the configuration of extension commands.
1.3.6.1.4.1.8072.1.3.3.1current
nsExtendOutputGroup
OBJECT-GROUP
Objects relating to the output of extension commands.
1.3.6.1.4.1.8072.1.3.3.2current