Determining the success or failure of external commands

Andreas Ericsson ae at op5.se
Wed Jan 23 10:10:15 CET 2008


Scott Sanders wrote:
> Hi,
> 
> I am working on implementing some functionality that will allow me to safely
> expose nagios.cmd to external hosts. In my environment there are maintenance
> tasks that run periodically which disrupt certain services, causing nagios
> to start generating alerts. Needless to say, I am tired of having my cell
> phone go crazy when this happens.

In that case, why not ask "How do I keep my cellphone from waking me up?"?
Instead, you've thought up a solution to your problem, which generates
other problems, and now you want help solving those other problems.

Assuming you know when these disruptive tasks are run, you should simply
create a notification_period that doesn't include the sensitive hours
and use that notification_period for the services being disrupted.

There are other solutions too, but this one is normally the recommended,
so I suggest you try that out first.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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