Nagios notifications / external script
Andreas Ericsson
ae at op5.se
Wed Jan 19 09:32:18 CET 2005
Harper Mann wrote:
> Hi Peter,
>
> Did you try setting up an eventhandler? I think they run whether
> notifications are enabled or not. There are global ones and you can set up
> logic to catch the hard state transition.
>
Eventhandlers won't kick in when hosts are in scheduled downtime though
(which is what nearly everybody wants).
> http://nagios.sourceforge.net/docs/1_0/eventhandlers.html
>
> - Harper
>
> Harper Mann
> Groundwork Open Source Solutions
> 510-599-2075 (cell)
> http://itgroundwork.com
>
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Sanchez
> Sent: Tuesday, January 18, 2005 7:46 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios notifications / external script
>
> I am wondering if its possible to have Nagios execute an external
> script every time a server/service goes into critical mode? Even if the
> server/service is scheduled for downtime or has notifications turned
> off. Is this possible? I tried searching the FAQ and mailing list
> archives, but didnt find much info.
>
> Thanks!
>
> Peter
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> 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
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> 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
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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