emConfigContactEnable
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.10.1.2.4.1.3
Object
column mandatory
r/w
Enumeration
An Environmental Monitor contact alarm enable/disable. No alarm will be generated if the contact is disabled(1). An alarm will be generated if the contact is enabled(2) and the contact has been faulted.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.10.1.2.4.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- emConfigContactsEntry
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::emConfigContactEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::emConfigContactEnable.<emConfigContactNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::emConfigContactEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |