Because one of my monitors can sometimes return an empty summary line I
found that the "alertevery x" filtering treats successive empty summary
lines as different, thus defeating the alertevery filtering.

I found that the cause is that one value was replaced by "(NO SUMMARY)"
if white space and the other was not.  Adding the line marked "# FIX" 
around line 600 seems to correct the problem.

sub do_alert {
...
   my ($prevsumm) = split("\n", $sref->{"_failure_output"});
   $prevsumm = "(NO SUMMARY)" if ($prevsumm =~ /^\s*$/m);   # FIX
...

Cheers,
Michael Vogt



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to