file-system-set-system-partition-readonly

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.1.10.1.7

Object

scalar mandatory r/w Integer32
Changes a system partition to be READ-ONLY. The value is the		
volume number to change. If the volume number specified is NOT		
a system partition an error is returned.
Additional information:
Returns <noSuchName>
status if attempting to access this object and there
is no storage device is installed.
Returns <badValue> if the volume requested
		   is not present.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.10.1.7
Type
scalar
Access
readwrite
Status
mandatory
Parent
settings-file-system

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-LASERJET-COMMON-MIB::file-system-set-system-partition-readonly.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-LASERJET-COMMON-MIB::file-system-set-system-partition-readonly'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Enumerated Values
1eDisabled
2eEnabled
Type Constraints
range: -2147483648..2147483647