wrsCustomBootScriptStatus
WR-SWITCH-MIB ·
.1.3.6.1.4.1.96.100.7.1.2.19
Object
scalar Enumeration
The result of execution of the custom boot script ok - custom boot script executed successfully failed - custom boot script failed during execution wrongSrc - no valid source of the custom boot script present in dot-config downloadError - unable to download a file from a given source disabled - do not run custom boot script error - unsupported status 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.19- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- wrsBootStatusGroup
Net-SNMP examples
How SNMP and these commands workScalars 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::wrsCustomBootScriptStatus.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::wrsCustomBootScriptStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | na |
1 | ok |
2 | failed |
3 | wrongSrc |
4 | downloadError |
5 | disabled |
6 | error |
7 | errorMinor |