hm2LogSnmpLogGetRequest
HM2-LOGGING-MIB ·
.1.3.6.1.4.1.248.11.23.1.1.1
Object
Enable logging of SNMP GET requests.
Context
- MIB
- HM2-LOGGING-MIB
- OID
.1.3.6.1.4.1.248.11.23.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2LogSnmpLoggingGroup
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 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LOGGING-MIB::hm2LogSnmpLogGetRequest.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-LOGGING-MIB::hm2LogSnmpLogGetRequest'
Syntax
- Source
- HM2-TC-MIBHmEnabledStatus
- Base type
Enumeration
Values & Constraints
Object Constraints
range: 1-300
Type Values
1 | enable |
2 | disable |