CURRENT: innreport error

Christoph Biedl cbiedl at gmx.de
Tue Jun 27 12:04:50 UTC 2006


I'll keep my reports within that thread ;-)

innreport reports "Unknown entries" from
- "new control commands"
- CNFS related messages (format has changed).

See the attached patch. Works for me.

--- ./scripts/innreport_inn.pm.org      2006-06-27 13:57:50.119390687
+0200
+++ ./scripts/innreport_inn.pm  2006-06-27 13:58:01.152514337 +0200
@@ -263,6 +263,7 @@
       $cmd = $command unless $cmd;
       return 1 if $cmd eq 'flush'; # to avoid a double count
       $innd_control{"$cmd"}++;
+      return 1;
     }
     # old control command (by letter)
     if ($left =~ /^(\w)$/o) {
@@ -624,12 +625,12 @@
     }
     # bad_newsfeeds no feeding sites
     return 1 if $left =~ /\S+ bad_newsfeeds no feeding sites/o;
-    # CNFS-sm: cycbuff rollover - possibly interesting
-    return 1 if $left =~ /CNFS-sm: cycbuff \S+ rollover to cycle/o;
-    # CNFS-sm: CNFSflushallheads: flushing - possibly interesting
-    return 1 if $left =~ /CNFS-sm: CNFSflushallheads: flushing /o;
-    # CNFS-sm: metacycbuff rollover with SEQUENTIAL
-    return 1 if $left =~ /CNFS-sm: metacycbuff \S+ cycbuff is moved to
     /o;
+    # CNFS: cycbuff rollover - possibly interesting
+    return 1 if $left =~ /CNFS: cycbuff \S+ rollover to cycle/o;
+    # CNFS: CNFSflushallheads: flushing - possibly interesting
+    return 1 if $left =~ /CNFS: CNFSflushallheads: flushing /o;
+    # CNFS: metacycbuff rollover with SEQUENTIAL
+    return 1 if $left =~ /CNFS: metacycbuff \S+ cycbuff is moved to /o;
     # Cleanfeed status reports
     return 1 if $left =~ /^filter: status/o;
   }




More information about the inn-workers mailing list