NagiosXI upgrade
Re: NagiosXI upgrade
Hello kindly provide the steps for offload database we are using offloaded data base
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI upgrade
Hi,
No problem, here are the steps with an offloaded database.
DOWNGRADE NDO WITH OFFLOADED DB
Offloaded DB Changes
(If you have an offloaded DB you'll need to do these things:)
1. Edit /tmp/nagiosxi/xi-sys.cfg and update 'mysqlpass' value.
2. Edit /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg and update 'db_host', 'db_user', and 'db_pass' values.
3. Edit /tmp/nagiosxi/subcomponents/ndoutils/install and /tmp/nagiosxi/subcomponents/ndoutils/post-install to update all calls to mysql to include -h <db_ip>
Then compile and install the ndo2db service.
Let us know if you need any assistance.
Benjamin
No problem, here are the steps with an offloaded database.
DOWNGRADE NDO WITH OFFLOADED DB
Code: Select all
service nagios stop
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
(If you have an offloaded DB you'll need to do these things:)
1. Edit /tmp/nagiosxi/xi-sys.cfg and update 'mysqlpass' value.
2. Edit /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg and update 'db_host', 'db_user', and 'db_pass' values.
3. Edit /tmp/nagiosxi/subcomponents/ndoutils/install and /tmp/nagiosxi/subcomponents/ndoutils/post-install to update all calls to mysql to include -h <db_ip>
Then compile and install the ndo2db service.
Code: Select all
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
chkconfig ndo2db on
service ndo2db start
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!