hrdiskstorageaccess

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.3.3.6.1.1

Object

scalar mandatory r/w Enumeration
An indication if this long-term storage device is
readable and writable or only readable.  This
should reflect the media type, any write-protect
mechanism, and any device configuration that
affects the entire device.
Refer to RFC 1514, Host Resources MIB, for more details.
  Additional information:
  This object can be set to write protect
  the mass storage device, even though the host resources MIB
  documents the object as read-only.  Applications wanting to
  know if the mass storage device is writable should get this 
  object.  Applications wanting to change the read/write access
  of the mass storage device should set this object.
  If this object is set to write-protect while a file is being
  written to the mass storage device, the write-protect takes effect
  immediately and the new file doesn't appear in the file system.
  Returns <noSuchName> status if attempting to
  perform a Get on this OID with no mass storage device installed.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.3.3.6.1.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
hrDiskStorageEntry

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::hrdiskstorageaccess.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::hrdiskstorageaccess'

Syntax

Enumeration

Values & Constraints

No enumerated values or constraints recorded.