serviceMgmtOptStatus
BLUESERVER-MIB ·
.1.3.6.1.4.1.9967.1.12.1.1.3
Object
column r/w
Enumeration
To start, stop or to retart different services. The default value is noopt. This object does not hold the current status of the service instead it holds the last operation performed on the selected service via SNMP.
Context
- MIB
- BLUESERVER-MIB
- OID
.1.3.6.1.4.1.9967.1.12.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- serviceMgmtEntry
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 'BLUESERVER-MIB' -M '/opt/observium/mibs/bluesocket:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLUESERVER-MIB::serviceMgmtOptStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BLUESERVER-MIB' -M '/opt/observium/mibs/bluesocket:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLUESERVER-MIB::serviceMgmtOptStatus.<serviceMgmtId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BLUESERVER-MIB' -M '/opt/observium/mibs/bluesocket:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BLUESERVER-MIB::serviceMgmtOptStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | start |
2 | stop |
3 | restart |
4 | noopt |