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?
Nagios XI upgrade question
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Nagios XI upgrade question
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI upgrade question
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.
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.
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Nagios XI upgrade question
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.
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.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI upgrade question
This is strange. Run the following commands and show us the output (sanitize sensitive info):
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.
Code: Select all
less /etc/sysconfig/rhn/systemid
rhn_check -v
echo $?
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!