Page 1 of 1
Nagios XI upgrade question
Posted: Fri Oct 03, 2014 10:27 am
by JakeHatMacys
So I'm looking to upgrade our Nagios XI install on our dev proof of concept box so we can back up and restore it to our recent prod install.
(reasoning is we configured a lot of environment specific stuff on the box and would rather pull it over than recreate it).
2 questions...
Is this the right route to go? (back up of old box config and restore to another box)... Or is there a list of folders we can tar and pull over for all our configurations???
The other question is when attempting the upgrade on our Dev box I'm running into this error: (attached)
Any insight on how to fix the upgrade error?
Re: Nagios XI upgrade question
Posted: Fri Oct 03, 2014 10:59 am
by slansing
So first things first, you will need to get a subscription for that RHEL server, depending on your version the method to do so may be different:
https://access.redhat.com/documentation ... ments.html
On the note of backing up and restoring, we generally recommend you follow:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
That document will give you a list of what is actually backed up. You could go the route of tarring up your configurations and then importing them into the new system following our import prep, and import documentation:
http://assets.nagios.com/downloads/nagi ... p-Tool.pdf
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
But that will of course not contain your apache configurations, log rotation rules, or databases.
Re: Nagios XI upgrade question
Posted: Fri Oct 03, 2014 12:33 pm
by JakeHatMacys
Tried upgrading and getting the following error (attached)
So I've reached out to my Unix team and just got sassed for trying to update it haha... So opening a Request with them for support upgrading it.
Re: Nagios XI upgrade question
Posted: Fri Oct 03, 2014 3:19 pm
by lmiltchev
This is strange. Run the following commands and show us the output (sanitize sensitive info):
Code: Select all
less /etc/sysconfig/rhn/systemid
rhn_check -v
echo $?
If the system is registered with RedHat, but our upgrade script "thinks" it's not, you could comment out the lines that check registration status in the "0-yum" script (I believe lines 30-40).
FYI, you will need the optional channel added and access to all required repos, otherwise the upgrade will fail.
After modifying the "0-yum" script, you can try again running the "upgrade" script. Let us know if this helped.