Could not interpret output from ping command

Hi,

This morning all of the machines that I monitor with check_ping returned this message:
CRITICAL - Could not interpret output from ping command.

When I manually execute the check from the master I get this:

PING CRITICAL - Packet loss = 100%|rta=5000.000000ms;3000.000000;5000.000000;0.000000 pl=100%;80;100;0

Normally the PING CRITICAL - Packet loss = 100% is displayed in IcingaWeb
What could the issue be?

Icinga Web 2 Version: 2.9.5
Icinga Version: 2.13.2-1
OS: CentOS Stream 8

same issues (centOS stream 8 too)
will post when i got a fix

1 Like

latest upgrade from the ping binary apparently changed output
run “yum downgrade iputils” for now

1 Like

analysing further most likely a centos 8 bug:
“setcap cap_net_admin,cap_net_raw+p /usr/bin/ping”
fixes the issue with the new version

For me this didn’t fix it for the new version.
I will stick to the previous version for now.
Thanks for the updates and the tips!

I had the same issue. Try running ping on the affected box as your icinga user.

You’ll get ping: socket: Operation not permitted

See here for a fix: ping: socket: Operation not permitted · Issue #1012 · MichaIng/DietPi · GitHub

1 Like