<<Rebuilding our Nagios xi Network Monitor>>

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

<<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

From: UHAUL Network Operations

Linux Distribution and version?
1. Cent OS 6.2 / 64 Bit
2. Manual Install
3. Gnome installed

To Nagios xi Tech Support Specialist:
We are building a new Network Monitor Server just in case our primary one fails. Plus we need to develop our experience and skill of building a Nagios Server since the individual who established it left the company. I just wanted know what data to extract to place on the new Nagios Server. Eventually, I would like to work towards setting up a load balance after we build our new server successfully and factory default the primary one and establish the new one successfully first. So far, we just did a new full installation on the new server after installing the CENT OS 6.2 Platform. Please provide me with some direction on what to do here. Thank you in advance for your assistance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by scottwilkerson »

If I was building a backup, I would install a fresh xi server
http://library.nagios.com/library/produ ... -nagios-xi

Then run a backup on the current server, copy over the backup and run the restore on the new machine
http://library.nagios.com/library/produ ... -nagios-xi
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

Scott,
Thank you for responding back quick on this one. I appreciate your guidance. So, I will give it a try.
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

Can we use the same license key from the old server and use it on the new one when we pull the old one off our network???
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by scottwilkerson »

If they have the same IP address, yes.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

If we do use the new server, can we utilize the trial version which has about 57 days left on it before we place it on the old ip address.

new: 172.x.x.164
old: 172.x.x.163
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

Is there any possibility that we can use the same license with a new ip address after we shut down the old one?

new: 172.x.x.164
old: 172.x.x.163
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

Getting error on the backup:

Last login: Wed May 30 17:01:22 2012 from 2ncssw214.uhi.amerco
[root@fldmon ~]# /usr/local/nagiosxi/scripts/backup_xi.sh
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/share/perfdata/741028/_HOST_.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/761074/_HOST_.rrd: file changed as we read it
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios xi...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Got error: 144: Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this script!
You have new mail in /var/spool/mail/root
[root@fldmon ~]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by scottwilkerson »

Run

Code: Select all

cd /usr/local/nagiosxi/scripts
./repairmysql.sh nagios
Then try the backup again
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Rebuilding our Nagios xi Network Monitor>>

Post by uhiadmin »

Thanks Scott,
I will try that during the evening and let you know the results.