force notification ?

Ethan Galstad nagios at nagios.org
Thu Mar 6 05:24:11 CET 2003


On 5 Mar 2003 at 15:37, Joerg.Krueger at alcatel.de wrote:

> Is it possible to force a notification, e.g. by an external command, even
> if the conditions for a notification are not met ?
> I would like to generate a notification everytime I find a pattern in a
> logfile containing a descriptive text regarding the log message. My idea
> was to define a service which accepts passive check results. The  logfile
> scanner submits the results as passive check results locally by an external
> command or remotely by nsca.
> This works in general, but only the first event leads to a notification.
> All subsequent events will not be notified since no status transition took
> place. You could fake this mechanism by sending an OK check result after
> each WARNING or CRITICAL, but isn't there a smarter way ?
> 
> Mit freundlichen Gruessen/Best Regards
> Joerg Krueger

Try setting the is_volative directive for the service to 1.  This 
should cause Nagios to send a notification every time a non-OK event 
is received.

Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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