On Fri, Mar 04, 2005 at 02:19:54PM -0500, Asif Iqbal wrote:
On Fri, Mar 04, 2005 at 07:40:17AM, Henrik Stoerner wrote:
On Thu, Mar 03, 2005 at 03:13:31PM -0800, Bruce Lysik wrote:
The current code - i.e. RC4 plus the post-RC4 patch, plus the fix I
sent out yesterday to stop alerts from going off every minute -
should behave the way you want. As you say, it doesn't make sense to
get a recovery message when you didn't get the alert. I just tested it
Like to know how you test. It will add more debug skills, for
hobbit, in my list
I have Hobbit running on my workstation, just monitoring itself. Then
I setup bb-hosts or hobbit-alerts.cfg as needed for the test I want to
do; e.g here I added some extra alert rules:
HOST=osiris.hswn.dk
MAIL user-ce4a2c883f75@xymon.invalid REPEAT=1h COLOR=red RECOVERED
MAIL user-ef2660e32166@xymon.invalid REPEAT=1h COLOR=red,yellow RECOVERED
Restarted Hobbit, and fired off a yellow and a red alert:
bb 127.0.0.1 "status osiris,hswn,dk.test1 yellow `date` Test Y"
bb 127.0.0.1 "status osiris,hswn,dk.test1 red `date` Test R"
and noticed what emails were being sent - I should get one message for
the yellow status, and two for the red. When I got these, repeat the
"bb" commands with a green status, and see what recovery messages show
up.
Henrik