diff --git a/netlog/netlog b/netlog/netlog index c703b7c..db85661 100755 --- a/netlog/netlog +++ b/netlog/netlog @@ -10,7 +10,7 @@ use Getopt::Long; use Sys::Syslog; use Donald::Select::Watchfile; -our ($RCS_REVISION)='$Revision: 1.35 $'=~/([\d.]+)/; +our ($RCS_REVISION)='$Revision: 1.36 $'=~/([\d.]+)/; our %options; our $TCP_MAX=1024; @@ -145,9 +145,9 @@ sub filter { } /netlog test/ and return 'TEST'; - + /WEBCAM/ and return 'CAM'; - + $proc eq 'InRow RC' and return 'INROW'; if ($proc eq 'UPS') { return 'UPS' unless /(Started|Passed) a self-test./; @@ -165,6 +165,10 @@ sub filter { /remote fault/ and return 'REMOTE_FAULT'; + if ($proc eq 'logwatcher') { # /project/admin/tools/logwatcher.pl on geniux + return 'LOGWATCHER'; + } + return 0; }