On Thu, Aug 30, 2001 at 08:11:25AM -0400, Bates, C Thomas wrote:
>  I think I've finally found what has been causing the MON daemon to die. It
> finally died with debug running, with this in stderr:
> /^**** Time Out/: nested *?+ in regexp at /usr/local/mon/prod/mon line 587.

Line 593 has another bug (for which I submitted a patch to Jim) where alerts
will be skipped if a monitor fails with summary "alpha bravo", and then
fails again with a summary "alpha".  The summarys are different, so there
should be an alert but mon won't alert until the "alertevery" period has
passed.

I've attached my patch which I believe will fix both your problem and
the one in the above paragraph.  :)

-- 
Randomly Generated Tagline:
"You must lash out with every limb, like the octopus who plays drums."
         - The Sphinx in Mystery Men
586a587
>           my($prevsumm) = split("\n", $sref->{"_failure_output"});
593c594
<                           ($sref->{"_failure_output"} =~ /^$summary/)
---
>                           (!$pref->{"_observe_detail"} && $prevsumm eq $summary)

Reply via email to