FW: nagios actions

Wheeler, JF (Jonathan) J.F.Wheeler at rl.ac.uk
Tue Jul 15 14:11:09 CEST 2008


-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net On Behalf Of Melanie
Pfefer
Sent: 15 July 2008 09:04

> Can nagios trigger an action when an alert is received?
>
> For example, if /var is at warning, can nagios execute a script that
cleans the logs?

Look at event handlers in the documentation; these do exactly what you
require.  Your service needs to specify the event handler script and
also have event_handlers_enabled=1.

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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