Heh. I said you needed to *change* the '--with-ping-command' setting,
not drop it completely.

Actually, the real problem is that there are *three*, count 'em, *three*
different ping commands in Debian: inetutils-ping, iptuils-ping, and
netkit-ping. They are not command line compatible.

This makes baby Nagios cry.

Right now, it looks like check_ping is issuing the command:

/bin/ping -n -U -w 10 -c 5 $HOSTNAME

With netkit-ping, which is what I have installed:

$ /bin/ping -n -U -w 10 -c 5 speedy
/bin/ping: invalid option -- U
usage: ping [-LRdfnqrv] [-c count] [-i wait] [-l preload]
        [-p pattern] [-s packetsize] [-t ttl] [-I interface address] host


Bugger.

Installing iputils-ping works. Inetutils-ping doesn't implement -U
either (maybe because it does the right thing w/o it; it looks like
iputil's -U is a hack).

Anyway, as I wrote in http://bugs.debian.org/294224, it looks like

        --with-ping-command='/bin/ping -n -c %d %s'

should work with all the existant Debian pings.

Steve


-- 
Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to