nagios backup

Morty morty+nagios at frakir.org
Sat May 12 15:09:16 CEST 2012


On Sat, May 12, 2012 at 02:16:03PM +0200, Andreas Ericsson wrote:
> On 05/12/2012 01:18 PM, Luis H. Forchesatto wrote:
> > Backup done successfully. All hosts are imported and being monitored, but a
> > few things are not working, like SMS messages and mail messages.
> > 
> > Does it need to be backed up from some directory?
> > 
> 
> That's most likely due to system settings and probably has nothing to do
> with Nagios. I assumed you understood that the new system has to be
> capable of sending emails and text messages as well if you want that
> functionality to work.

On a Debian system, you can capture all system packages and settings
like so:

apt-get debconf-utils
debconf-get-selections > debian_config
dpkg  --get-selections > packages

Import into second system like so:

debconf-set-selections < debian_config
dpkg  --set-selections < packages

If you've made settings changes to text files not controlled by
debconf, you need to capture them manually and merge them manually.
This is easy if you're doing configuration management on your config
files.  For example, if you use RCS, you can run "locate ,v" to
quickly locate every configuration file you've ever changed.  If you
weren't using a CM system before, you'll have to locate your config
files manually.  Be sure to use CM in the future.

- 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