icmpEchoReq
HP-UNIX ·
.1.3.6.1.4.1.11.2.7.1
Object
The number of milliseconds it takes for an ICMP
echo request to respond. IcmpEchoReq is
-1 if there is an internal error,
-2 if the echo request timed out,
-3 if the echo reply is not the correct reply,
-4 if the packet size is too large, and
-5 if the timeout is invalid.
To request the ICMP response time for IP address
a.b.c.d with a timeout of e, send a request for
icmpEchoReq.a.b.c.d.e.
For example, suppose one wanted to find out the
number of milliseconds it took to ping 15.2.112.113,
with time out of 8, and packet size of 75.
Accordingly, icmpEchoReq.75.8.15.2.112.113 would
identify the number of milliseconds.
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 'HP-UNIX' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-UNIX::icmpEchoReq.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-UNIX' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-UNIX::icmpEchoReq'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647