Synchronizing turning off notifications.

Marc Powell marc at ena.com
Tue Jun 9 18:09:24 CEST 2009


On Jun 9, 2009, at 10:55 AM, Mike lucker wrote:

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

It's stored in memory and periodically written out the the retention  
file and status file based on your schedule or on shutdown. I haven't  
tried it but I'd suggest shutting down nagios on the master to ensure  
that the retention file is up-to-date, shut down the backup, rsync and  
restart both. The retention file is the one you want as the status  
file is recreated on startup based on config+retention.dat.

--
Marc


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