sending service/host notification status tofailover server
Marc Powell
marc at ena.com
Thu Apr 17 15:58:02 CEST 2008
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Heiko
> Sent: Thursday, April 17, 2008 7:17 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] sending service/host notification status
> tofailover server
>
> On Wed, Apr 16, 2008 at 8:51 AM, Heiko <rupertt at gmail.com> 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
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