cmdExecStatement
A3COM0048-EMBEDDED-SCRIPTS ·
.1.3.6.1.4.1.43.10.25.5.2.1.8
Object
column mandatory
Integer32
Generally scripts are broken into statements, this is just about true for any scripting mechanism. The statement number is generally useful for debugging. This object reports the current statement that will be executed _next_.
Context
- MIB
- A3COM0048-EMBEDDED-SCRIPTS
- OID
.1.3.6.1.4.1.43.10.25.5.2.1.8- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cmdExecEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'A3COM0048-EMBEDDED-SCRIPTS' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'A3COM0048-EMBEDDED-SCRIPTS::cmdExecStatement'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'A3COM0048-EMBEDDED-SCRIPTS' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'A3COM0048-EMBEDDED-SCRIPTS::cmdExecStatement.<cmdExecUnit>.<cmdExecIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'A3COM0048-EMBEDDED-SCRIPTS' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'A3COM0048-EMBEDDED-SCRIPTS::cmdExecStatement'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535