force notification ?

Joerg.Krueger at alcatel.de Joerg.Krueger at alcatel.de
Wed Mar 5 15:37:53 CET 2003


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




-------------------------------------------------------
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