[Fwd: Syncing configs between 2 nagios servers -permissions]

Morris, Patrick patrick.morris at hp.com
Sat Sep 2 01:00:49 CEST 2006


> 	I have 2 nagios servers that will be setup as 
> redundant, if nagios1 is down, nagios2 will enable its checks 
> + alert.  Using NSCA, I can sync the state, but I now have a 
> problem to sync the config and plugin directory.
> 
> 	The easiest way to sync would be to have all the files 
> in /etc/nagios/ and /usr/lib(64)/nagils/plugins/ owned by the 
> user who does the sync.
> Could I do a chown nagios:nagios on all those files?
> 
> If someone has a better idea, I welcome it!

I do that on a few machines.  The only potential snag (one that I have
to deal with) is if you have Nagios boxes running different OS versions,
in which case synching your plugins can be a bad idea.

Configs aren't a problem in any case, as long as you make sure they're
readable when they arrive. 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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