R: R: Notify on sigle events

jeff vier boinger at tradingtechnologies.com
Wed Jan 19 19:50:31 CET 2005


On Wed, 2005-01-19 at 10:21 -0600, Marco Borsani wrote:
> Well, I know check_log plugin but it still "change the status" when
> match 
> the "pattern" (third arguments of the check_log) in Critical and back
> to 
> normal if nothing change inside the log file. 
> The problem is that I need to send only one notification when match
> the 
> "pattern" but mainteining the OK status.

So have it set to not volatile (is_volatile 0), max_check_attempts of 1,
obsess_over_service to 1, and set an ocsp_command to reset the service.
This should rarely, if ever, actually *show* a Hard Critical, but you'll
get an alert each time it changes.

You probably would want to set your notifications to c (or c,u), though.
Else you'll get two alerts each time.



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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