Re: Alarm event when monitoring log files

"Lars Thegler" <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
On Wed, Sep 10, 2008 at 4:21 PM, Emmanuel Gadaix <[email protected]> wrote:
> So imagine the scenario whereby the log messages are:
>
> "link deactivated" at 17:00:00
> "link active" at 19:00:00
>
> I need to send the alarm at 17:01, not at 19:00
>
>
> And in the scenario like:
>
> "link deactivated" at 17:00:00
> "link active" at 17:00:30
>
> Then no alarm are sent (it was only deactivated 30 seconds).
>

You need to use timers events (delayed messages).

/Lars
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.