nagios backup

Morty morty+nagios at frakir.org
Sat May 12 14:58:58 CEST 2012


On Fri, May 11, 2012 at 02:01:34PM -0300, Luis H. Forchesatto wrote:
> Correct me if i'm wrong.
> 
> The basic nagios backup and restore procedure is:
> 
> - stop the nagios daemon
> - copy the contents of /etc/nagios3/, /usr/share/nagios/,
> /usr/share/nagios3/ to the same directory in the new server
> - before running, aptitude install nagios-plugins
> - start the nagios daemon
> 
> Enjoy the happy end?

I would *not* grab /usr/share/nagios or /usr/share/nagios3.  That
stuff is version specific.  You've just overwritten some nagios 3.2.x
files with nagios 3.0.x files.

The stuff I transfer on a Debian nagios is:

dirs="/etc/nagios3"
files="/var/lib/nagios3/retention.dat /var/www/index.html"

You may also want to grab /var/log/nagios3 if you want the old
history.

- Morty

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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