monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Monit: Testing Alert path


From: David N. Blank-Edelman
Subject: Re: [monit] Monit: Testing Alert path
Date: Thu, 3 Jul 2008 23:04:59 -0400


On Jul 3, 2008, at 10:25 AM, Dave Paper wrote:

However, it's kind of dirty (having an extra job running just for that), and I'm looking at putting together some sort of automation testing/verification that alert messages are able to get through. Using something to externally test the alert system once per day and if no alert arrives, then something in the alert path is broken.

So Martin's response gives an excellent way to make sure alerts are being generated (told you I was a neophyte, and I guess I keep on finding out more cool things it does). For the full round trip question that uses the monit feature Martin mentioned it would be relatively easy to write a Perl script to read and parse the mail generated by this periodic alert (and to take action if the dog doesn't bark on cue). Let me know off list if you'd like more details.

    -- dNb





reply via email to

[Prev in Thread] Current Thread [Next in Thread]