>From: Mike lucker [mailto:[email protected]] 
>Sent: Tuesday, June 09, 2009 11:56 AM
>To: [email protected]
>Subject: [Nagios-users] Synchronizing turning off notifications.

>We have two Nagios servers with one acting as a fallback.  We run a sync 
>program every time >there is an update.  This sync copies the config files 
>from mon1 to mon2, stops and restarts >the backup.  Works well, but the 
>problem we're having is that it is not syncing when we turn >notification off 
>on mon1.  If it falls back to mon2 it will page for that device.
>
>Does anyone know where Nagios stores the "notification=off" option when it is 
>changed via >the web interface?  I suspect we're missing the copy of that file.
>
>Thanks,
>
>Michael Lucker

Michael,

This information is stored in the status.dat file as part of the running 
configuration
from "mon1".  If mon2 is actually running, I'd recommend sending an external 
command to
that running instance to disable notifications.

See

http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=7


You could then run the enable notifications command at some point when you need 
it to act
as the real server

http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=8

Mark

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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