Nagios notifications / external script

Andreas Ericsson ae at op5.se
Thu Jan 20 07:51:23 CET 2005


Peter Sanchez wrote:
> 
> On Jan 19, 2005, at 12:32 AM, Andreas Ericsson wrote:
> 
>>
>> Eventhandlers won't kick in when hosts are in scheduled downtime 
>> though (which is what nearly everybody wants).
> 
> 
> That's what I thought. Is there a handler that can be used even when an 
> item is scheduled for downtime?
> 

No, but you can write a neb_module for it if you like. I'm sure the 
nagios-db project module should suit you farely well. It already hooks 
into all events going on in nagios, so the main part is already done.

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

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


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