1 |
We've got a bug in Nagios's `ping` command format detection: |
2 |
|
3 |
https://bugs.gentoo.org/show_bug.cgi?id=468296 |
4 |
|
5 |
It's easy to reproduce by taking down your "lo" interface, or by |
6 |
filtering all icmp packets in iptables. |
7 |
|
8 |
Fortunately, you can override the auto-detection by passing it a magic |
9 |
string, and that works around the bug: |
10 |
|
11 |
--with-ping-command="/bin/ping -n -U -w %d -c %d %s" |
12 |
--with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" |
13 |
|
14 |
Those are the formats and executable locations that get detected on my |
15 |
machine. Can anyone think of a case where hard-coding these (using |
16 |
$ROOT) would backfire on me? |