smScriptAdminStatus
DISMAN-SCRIPT-MIB ·
.1.3.6.1.2.1.64.1.3.1.1.6
Object
column r/w
Enumeration
The value of this object indicates the desired status of
the script. See the definition of smScriptOperStatus for
a description of the values.
When the smScriptAdminStatus object is set to `enabled' and
the smScriptOperStatus is `disabled' or one of the error
states, the Script MIB implementation will `pull' the script
source from the URL contained in the smScriptSource object
if the URL is not empty.
Context
- MIB
- DISMAN-SCRIPT-MIB
- OID
.1.3.6.1.2.1.64.1.3.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- smScriptEntry
- Groups
- 2
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 'DISMAN-SCRIPT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-SCRIPT-MIB::smScriptAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DISMAN-SCRIPT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-SCRIPT-MIB::smScriptAdminStatus.<smScriptOwner>.<smScriptName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DISMAN-SCRIPT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DISMAN-SCRIPT-MIB::smScriptAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
3 | editing |
Conformance
Member of