I've a couple of other fping messages which should be skipped (ICMP redirect, and unreachable due to administrative filter). Here's an update for the previous patch which skips them, too.
Index: mon.d/fping.monitor =================================================================== RCS file: /usr/local/src/cvsroot/debian/mon/mon.d/fping.monitor,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- mon.d/fping.monitor 3 Jun 2002 18:52:53 -0000 1.9 +++ mon.d/fping.monitor 7 Jun 2002 17:05:03 -0000 1.10 @@ -91,10 +91,14 @@ push @unreachable, $1; } - elsif (/^ICMP Host Unreachable from \S* for ICMP Echo sent to /) - { - # ignore this - we'll have an "unreachable" message anyway - } + # fping can output a number of messages in addition to the eventual + # reachable/unreachable. Ignore them since we'll also get the main + # "unreachable" message). + + elsif (/^ICMP .+ from \S+ for ICMP Echo sent to /) + { + # do nothing + } else { -- Roderick Schertler [EMAIL PROTECTED]