controlUnitNumberOfUnits
SP2-MIB ·
.1.3.6.1.4.1.12148.10.13.8.1
Object
scalar Integer32
Total number of control units installed in system.
Context
- MIB
- SP2-MIB
- OID
.1.3.6.1.4.1.12148.10.13.8.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- controlSystemInventory
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 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SP2-MIB::controlUnitNumberOfUnits.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SP2-MIB::controlUnitNumberOfUnits'
Syntax
Integer32
Values & Constraints
Enumerated Values
0 | contactOpen |
1 | contactClosed |
Object Constraints
range: 1-254