For some reason we want to keep version 5.4.11,
is it possible and how 5.4.11 config import to 5.6.3?
we had tried 5.4.11 config import to 5.6.3 without success, wonder if something need to be aware?
is there anything need to be aware when other old version config import to new version?
will the NagiosXI backend database need to be aware? (it seems that old version NagiosXI using postgresql while new version using mariadb)
Old config import to new version NagiosXI ...
Re: Old config import to new version NagiosXI ...
What is your objective - to keep the "old" 5.4.11 server, while testing the "new" 5.6.3 one (with the old configs imported) until you make sure the new server is running fine (then get rid of the old one)? Why not just upgrade to 5.6.3? Can you explain?For some reason we want to keep version 5.4.11,
is it possible and how 5.4.11 config import to 5.6.3?
Can you describe all of the steps you took to do the import? Did you follow the correct import order:we had tried 5.4.11 config import to 5.6.3 without success, wonder if something need to be aware?
Code: Select all
Commands > Time Periods > Contact Templates > Contacts > Contact Groups > Host Templates > Hosts > Host Groups > Service Templates >Services > Service GroupsYou are not going to be able to import the data that is stored in the nagiosxi database, unless you do a backup and restore, using the document below:will the NagiosXI backend database need to be aware? (it seems that old version NagiosXI using postgresql while new version using mariadb)
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
New installs will use mysql/mariadb, but the upgrades will keep using postgresql. If you need to use mysql/mariadb instead of postgresql, you could try following the KB article below:
https://support.nagios.com/kb/article/c ... i-560.html
Do all of the necessary backups, snapshots, etc. before attempting to convert PostgreSQL to MySQL.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Old config import to new version NagiosXI ...
Yes, my objective is to keep the "old" 5.4.11 server, while testing the "new" 5.6.3 one (with the old configs imported) until I make sure the new server is running fine (then get rid of the old one).
Why not just upgrade to 5.6.3? because the 5.4.11 server was upgraded from several earlier versions, but sometimes there're some strange things happened(cpu went high/a lot of monitoring alert in same time/...), so I think if I install a fresh new server with new version, and then import old configs, maybe it will more steady?!
if this reason acceptable, what steps will you recommend?
Why not just upgrade to 5.6.3? because the 5.4.11 server was upgraded from several earlier versions, but sometimes there're some strange things happened(cpu went high/a lot of monitoring alert in same time/...), so I think if I install a fresh new server with new version, and then import old configs, maybe it will more steady?!
if this reason acceptable, what steps will you recommend?
Re: Old config import to new version NagiosXI ...
if I install a fresh new NagiosXI with new version, can I backup old version NagiosXI and restore to the new one? or I have to import old configs to new one?
is there a document I can refer?
is there a document I can refer?
Re: Old config import to new version NagiosXI ...
Yes, the backup and restore document - https://assets.nagios.com/downloads/nag ... ios-XI.pdf.is there a document I can refer?
Basically, you need to do the following:
1. Create a backup on your "old" server:
Code: Select all
/usr/local/nagiosxi/scripts//backup_xi.sh3. Copy over the backup to the new server:
Code: Select all
scp /store/backups/nagiosxi/xxx.tar.gz root@<ip address>://store/backups/nagiosxiCode: Select all
/usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/xxx.tar.gzCode: Select all
cd /tmp
rm -rf xi* nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.3.tar.gz
tar xvf xi*
cd nagiosxi
./upgradeBe sure to check out our Knowledgebase for helpful articles and solutions!