hm2VpnConnLastError
HM2-VPN-MIB ·
.1.3.6.1.4.1.248.11.120.1.2.10.1.32
Object
column OctetString
Last error notification occurred for this connection. This is useful if the connection does not reach the up state to see if an error has occurred in the proposal exchange or when establishing the tunnel. In most cases this variable should be empty.
Context
- MIB
- HM2-VPN-MIB
- OID
.1.3.6.1.4.1.248.11.120.1.2.10.1.32- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2VpnConnEntry
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 'HM2-VPN-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-VPN-MIB::hm2VpnConnLastError'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-VPN-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-VPN-MIB::hm2VpnConnLastError.<hm2VpnConnIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-VPN-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-VPN-MIB::hm2VpnConnLastError'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-512