nagios and avamar

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

nagios and avamar

Post by benhank »

Is there any documentation that shows how to configure avamar to back up the nagios backup folders?
also since my nagvis folders aren't in the actual nagios folder, how would I get the backup scrip to include it?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios and avamar

Post by scottwilkerson »

I'm not familiar with avamar but you would set it up the same way you would backup anything else on a Linux system...

The important folders/files to consider backing up are

Code: Select all

/store/backups/*
/usr/local/nagiosxi/nom/checkpoints/*
/usr/local/nagvis/*
/etc/mrtg/mrtg.cfg
/var/lib/mrtg/*
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and avamar

Post by benhank »

Thanks! and another topoic bites the dust!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and avamar

Post by benhank »

Nagios has an auto back up that runs everyday, It does it without having to shutdown the services and stuff. When I look at the file that results from running:

Code: Select all

/usr/local/nagiosxi/scripts/backup_xi.sh
the file it creates is xyz.tar.gz, and induces the entire nagios directory structure. But the script that does the daily/weekly/ monthly backups creates files that are broken down to nagios's separate parts.

i am cofused about why the two scripts backup nagios differently, and why I can run one script with nagios running, and have to shut it down for another.

The restore process for the

Code: Select all

/usr/local/nagiosxi/scripts/backup_xi.sh
is so easy even I can do it.
But how do I restore files from the from the D,W,M backup?


If this next question is out of the scope of this support forum(and i think it is, but I am throwing my self on you folk's mercy), can someone help me rewrite both scrips or show me what to edit in the scripts so that they will include the folders listed above and then push the files to a remote server? again if that is going to far i understand.

Thanks in advance.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked