wrsCustomBootScriptSource

WR-SWITCH-MIB · .1.3.6.1.4.1.96.100.7.1.2.17

Object

scalar Enumeration
Source of the custom boot script
local - used custom boot script was stored on the switch
remote - custom boot script was retrieved from the network; check the
         wrsCustomBootScriptSourceUrl for the path
disabled - do not run custom boot script
errorMinor - cannot read the status file, problem is probably somewhere
             else

Context

MIB
WR-SWITCH-MIB
OID
.1.3.6.1.4.1.96.100.7.1.2.17
Type
scalar
Access
readonly
Status
current
Parent
wrsBootStatusGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WR-SWITCH-MIB::wrsCustomBootScriptSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WR-SWITCH-MIB::wrsCustomBootScriptSource'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0na
1error
2errorMinor
3local
4remote
5disabled