We've got a bug in Nagios's `ping` command format detection:

  https://bugs.gentoo.org/show_bug.cgi?id=468296

It's easy to reproduce by taking down your "lo" interface, or by
filtering all icmp packets in iptables.

Fortunately, you can override the auto-detection by passing it a magic
string, and that works around the bug:

  --with-ping-command="/bin/ping -n -U -w %d -c %d %s"
  --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s"

Those are the formats and executable locations that get detected on my
machine. Can anyone think of a case where hard-coding these (using
$ROOT) would backfire on me?

Reply via email to