COMMAND-EXECUTION-MIB
Managed objects allowing the execution of some UNIX shell commands
- Source file
COMMAND-EXECUTION-MIB- Last revised
- Identity
cmdExecutionModule- Base OID
1.3.6.1.4.1.4976.6.1- Objects
- 1 scalars · 11 columns
- Tables
- 3 tables
Net-SNMP examples using the agentpp MIB directory
These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.
Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'COMMAND-EXECUTION-MIB' -M '/opt/observium/mibs/agentpp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'COMMAND-EXECUTION-MIB::cmdExecutionModule'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'COMMAND-EXECUTION-MIB' -M '/opt/observium/mibs/agentpp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMMAND-EXECUTION-MIB::cmdExecutionModule'
Imported Objects
| AGENTPP-GLOBAL-REG | agentppExpr |
| SNMPv2-CONF | MODULE-COMPLIANCE (no object page) OBJECT-GROUP (no object page) |
| SNMPv2-SMI | experimental Integer32 MODULE-IDENTITY (no object page) OBJECT-TYPE (no object page) TimeTicks |
| SNMPv2-TC | DisplayString RowStatus StorageType TEXTUAL-CONVENTION (no object page) |
.1.3.6.1.4.1.4976.6.1.2.1.1
· 4 columns
The list of available commands
cmdExecutionCmdConfigEntry
.1.3.6.1.4.1.4976.6.1.2.1.1.1
| Column | Syntax | OID |
|---|---|---|
| cmdExecutionCmdConfigName | CommandName | .1.3.6.1.4.1.4976.6.1.2.1.1.1.1 |
| cmdExecutionCmdConfigLine | SNMPv2-TCDisplayStringr/w | .1.3.6.1.4.1.4976.6.1.2.1.1.1.2 |
| cmdExecutionCmdConfigStorage | SNMPv2-TCStorageTyper/w | .1.3.6.1.4.1.4976.6.1.2.1.1.1.3 |
| cmdExecutionCmdConfigRowStatus | SNMPv2-TCRowStatusr/w | .1.3.6.1.4.1.4976.6.1.2.1.1.1.4 |
cmdExecutionGeneral
cmdExecutionObjs ·
.1.3.6.1.4.1.4976.6.1.2.2
| Object | Syntax | OID |
|---|---|---|
| cmdExecutionCmdNextIndex | Integer32 | .1.3.6.1.4.1.4976.6.1.2.2.1 |
.1.3.6.1.4.1.4976.6.1.2.2.2
· 5 columns
The list of executing commands
cmdExecutionCmdEntry
.1.3.6.1.4.1.4976.6.1.2.2.2.1
Index
cmdExecutionCmdIndex
| Column | Syntax | OID |
|---|---|---|
| cmdExecutionCmdIndex | Integer32 | .1.3.6.1.4.1.4976.6.1.2.2.2.1.1 |
| cmdExecutionCmdName | CommandNamer/w | .1.3.6.1.4.1.4976.6.1.2.2.2.1.2 |
| cmdExecutionCmdStatus | Enumeration | .1.3.6.1.4.1.4976.6.1.2.2.2.1.3 |
| cmdExecutionCmdRunTime | SNMPv2-SMITimeTicks | .1.3.6.1.4.1.4976.6.1.2.2.2.1.4 |
| cmdExecutionCmdRowStatus | SNMPv2-TCRowStatusr/w | .1.3.6.1.4.1.4976.6.1.2.2.2.1.5 |
.1.3.6.1.4.1.4976.6.1.2.3.1
· 2 columns
The list of command outputs
cmdExecutionOutputEntry
.1.3.6.1.4.1.4976.6.1.2.3.1.1
| Column | Syntax | OID |
|---|---|---|
| cmdExecutionOutputLineNumber | Integer32 | .1.3.6.1.4.1.4976.6.1.2.3.1.1.1 |
| cmdExecutionOutputLine | SNMPv2-TCDisplayString | .1.3.6.1.4.1.4976.6.1.2.3.1.1.2 |
Type Definitions (1)
| Type | Syntax | Constraints |
|---|---|---|
| CommandName | OctetString | 1 constraints |
Conformance Groups (3)
cmdExecutionDefGroup .1.3.6.1.4.1.4976.6.1.1.1.1
Members (3)
cmdExecutionGenGroup .1.3.6.1.4.1.4976.6.1.1.1.2
Members (5)
cmdExecutionOutputGroup .1.3.6.1.4.1.4976.6.1.1.1.3
Members (1)
Compliance Statements (1)
cmdExecutionCompliance .1.3.6.1.4.1.4976.6.1.1.2
Dependencies (4) 4 direct Show tree and compile order Hide dependency details
Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.
Dependency tree
Dependency-first compile order
- SNMPv2-SMIrfc
- AGENTPP-GLOBAL-REGagentpp
- SNMPv2-CONFrfc
- SNMPv2-TCrfc
- COMMAND-EXECUTION-MIBagentppselected