Here are a couple of patches from Debian users.  The first adjust for some
current fping output, the second corrects the docs for failure_interval
(which is currently listed as a period def rather than a service def).

Index: mon.d/fping.monitor
===================================================================
RCS file: /usr/local/src/cvsroot/debian/mon/mon.d/fping.monitor,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mon.d/fping.monitor 13 Sep 2001 23:56:39 -0000      1.8
+++ mon.d/fping.monitor 3 Jun 2002 18:52:53 -0000       1.9
@@ -91,6 +91,11 @@
        push @unreachable, $1;
     }
 
+   elsif (/^ICMP Host Unreachable from \S* for ICMP Echo sent to /)
+   {
+       # ignore this - we'll have an "unreachable" message anyway
+   }
+
     else
     {
        print STDERR "unidentified output from fping: [$_]\n";
Index: doc/mon.8
===================================================================
RCS file: /usr/local/src/cvsroot/debian/mon/doc/mon.8,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- doc/mon.8   7 Sep 2001 14:32:48 -0000       1.2
+++ doc/mon.8   3 Jun 2002 18:52:51 -0000       1.3
@@ -913,6 +913,13 @@
 .IR timeval .
 
 .TP
+.BI failure_interval " timeval"
+Adjusts the polling interval to
+.I timeval
+when the service check is failing. Resets the interval
+to the original when the service succeeds.
+
+.TP
 .BI traptimeout " timeval"
 This keyword takes the same time specification argument as
 .BI interval ,
@@ -1208,13 +1215,6 @@
 .B "ALERT PROGRAMS"
 section above for a list of the pramaeters mon will pass 
 automatically to alert programs.
-
-.TP
-.BI failure_interval " timeval"
-Adjusts the polling interval to
-.I timeval
-when the service check is failing. Resets the interval
-to the original when the service succeeds.
 
 .TP
 .BI upalert " alert [arg...]"

-- 
Roderick Schertler
[EMAIL PROTECTED]

Reply via email to