> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Heiko
> Sent: Thursday, April 17, 2008 7:17 AM
> To: [email protected]
> Subject: Re: [Nagios-users] sending service/host notification status
> tofailover server
> 
> On Wed, Apr 16, 2008 at 8:51 AM, Heiko <[EMAIL PROTECTED]> wrote:


> >  failover server, since we have some notifications disabled on main
> >  server,
> >  how can i transfer these settings to the failover server?


> I found the external commands for this, but integration into the
> send_nsca script isnt clear for me.

Because you can't use send_nsca for that; it can only send
check_results. There's also no trigger like an event_handler that
happens when notifications are disabled or enabled either. The only way
I can think to do that is to periodically poll the status file to see
what's been enabled/disabled since last check and 'ssh failover echo
[external_command]...' appropriately. Not very elegant though.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to