Sticky alerts

Tedman Eng teng at dataway.com
Mon Sep 13 22:00:04 CEST 2004


If you're using send_nsca, I assume you're using a cron job/wrapper script
on the logging host.  The behavior seems to be a problem with the fetchlog
implementation and not necessarily Nagios.  Perhaps you can alter your
wrapper script to tell it to not send "OK" status alerts via nsca, since
humans will be submitting the "OK".  Trap exitcode != 0.

Also, consider toggling the volatile option if you are using it currently.

-----Original Message-----
From: Stephen Farrugia [mailto:nagios at fudgemond.org]
Sent: Sunday, September 12, 2004 8:55 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Sticky alerts


Hi All,

I'm new to Nagios and am enjoying the monitoring capabilities it offers
that allows me to keep an eye on a small setup I have.

I am running nagios-1.2 and plugins-1.4a on Linux (Gentoo).  I have compiled
Nagios myself, not through the Gentoo portage system.  I also have nrpe and
nsca successfully running across a small network of machines and it all
works
well.

One piece of functionality I have is a bit of passive monitoring of log
files
using fetchlog, and this is where I have a problem.  I would like any alert
raised while monitoring log files to remain sticky until the person
monitoring
acknowledges the alert.  At the moment, fetchlog raises an alert and sends
it to the central Nagios server using send_nsca, but on the next cycle, it
send an all clear, so the person monitoring alerts would see the alert go
away.  This is undesirable behaviour for me as I would like the alert to
remain until acknowledged.

I've looked through the doco, and searched through the mailing lists, but
have be unable to find an answer.  Maybe the answer is there but I didn't
see it for what it was.  In any case, I would appreciate a bit of guidance
with this problem.

Many regards
Stephen


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list