check_icmp failed to resolve for IPv6!!!
Posted: Wed Sep 20, 2017 9:52 am
Run Check Command
Host Address
2001:4888:a3f
362:ff0:0:50
Run Check Command
[[email protected] ~]$ /usr/local/nagios/libexec/check_icmp -H 2001:4888:a3f
362:ff0:0:50 -w 3000.0,80% -c 5000.0,100% -p 5
check_icmp: Failed to resolve 2001:4888:a3f
362:ff0:0:50
I'm not able to run check-host-alive in IPv6. Nagios was defined with IPv6 and able to ping the IPv6 Default Gateway.
[nagios@nagios libexec]$ ping6 2001:4888:a03
c0:22::
PING 2001:4888:a03
c0:22::(2001:4888:a03
c0:22::) 56 data bytes
64 bytes from 2001:4888:a03
c0:22::: icmp_seq=1 ttl=64 time=0.852 ms
64 bytes from 2001:4888:a03
c0:22::: icmp_seq=2 ttl=64 time=0.708 ms
64 bytes from 2001:4888:a03
c0:22::: icmp_seq=3 ttl=64 time=0.839 ms
64 bytes from 2001:4888:a03
c0:22::: icmp_seq=4 ttl=64 time=0.892 ms
64 bytes from 2001:4888:a03
c0:22::: icmp_seq=5 ttl=64 time=0.872 ms
Also able to ping the remote HOST IPv6:
[nagios@nagios libexec]$ ping6 2001:4888:a3f
362:ff0:0:50
PING 2001:4888:a3f
362:ff0:0:50(2001:4888:a3f
362:ff0:0:50) 56 data bytes
64 bytes from 2001:4888:a3f
362:ff0:0:50: icmp_seq=1 ttl=60 time=27.4 ms
64 bytes from 2001:4888:a3f
362:ff0:0:50: icmp_seq=2 ttl=60 time=27.4 ms
64 bytes from 2001:4888:a3f
362:ff0:0:50: icmp_seq=3 ttl=60 time=27.4 ms
Host Address
2001:4888:a3f
Run Check Command
[[email protected] ~]$ /usr/local/nagios/libexec/check_icmp -H 2001:4888:a3f
check_icmp: Failed to resolve 2001:4888:a3f
I'm not able to run check-host-alive in IPv6. Nagios was defined with IPv6 and able to ping the IPv6 Default Gateway.
[nagios@nagios libexec]$ ping6 2001:4888:a03
PING 2001:4888:a03
64 bytes from 2001:4888:a03
64 bytes from 2001:4888:a03
64 bytes from 2001:4888:a03
64 bytes from 2001:4888:a03
64 bytes from 2001:4888:a03
Also able to ping the remote HOST IPv6:
[nagios@nagios libexec]$ ping6 2001:4888:a3f
PING 2001:4888:a3f
64 bytes from 2001:4888:a3f
64 bytes from 2001:4888:a3f
64 bytes from 2001:4888:a3f