mediaAccessDevice-MountCount
SNIA-SML-MIB ·
.1.3.6.1.4.1.14851.3.1.6.2.1.7
Object
For a MediaAccessDevice that supports removable Media, the number of times that Media have been mounted for data transfer or to clean the Device. For Devices accessing nonremovable Media, such as hard disks, this property is not applicable and should be set to 0.
Context
- MIB
- SNIA-SML-MIB
- OID
.1.3.6.1.4.1.14851.3.1.6.2.1.7- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- mediaAccessDeviceEntry
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 'SNIA-SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNIA-SML-MIB::mediaAccessDevice-MountCount'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNIA-SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNIA-SML-MIB::mediaAccessDevice-MountCount.<mediaAccessDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNIA-SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNIA-SML-MIB::mediaAccessDevice-MountCount'