Hi Team,
We having our Production Nagios server Ver. 5.4.8 with Enterprise License.
We are setting up a Testing Nagios server for testing changes before going live on Production. While doing that we wanted to only move the configuration (it should not include hosts & host groups etc) from production nagios server to Testing nagios server.
Let us know how can we achieve this.
Regards,
Rohan
Move only configuration to QA server
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Move only configuration to QA server
Hi @lrnnetops
In Nagios, services are mapped to hosts and hosts groups, so just importing the services from another machine will result in configuration issues.
One option is to use the backup your server, restore on the test server, and then use the Bulk Modification Tool to remove specific hosts and service configurations.
Backing up and restoring Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Bulk Modification Tool
https://support.nagios.com/kb/article/n ... l-733.html
Let me know if you have any other questions.
In Nagios, services are mapped to hosts and hosts groups, so just importing the services from another machine will result in configuration issues.
One option is to use the backup your server, restore on the test server, and then use the Bulk Modification Tool to remove specific hosts and service configurations.
Backing up and restoring Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Bulk Modification Tool
https://support.nagios.com/kb/article/n ... l-733.html
Let me know if you have any other questions.
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!
Re: Move only configuration to QA server
Hi benjaminsmith,
As suggested & to reduce time we followed below steps.
1 - Took AMI of Nagios EC2 instance & created New Testing nagios EC2 instance.
2 - Started the instance but unable to see changes as we see below error on Testing Nagios UI.
Please check & suggest how to fix it.
As suggested & to reduce time we followed below steps.
1 - Took AMI of Nagios EC2 instance & created New Testing nagios EC2 instance.
2 - Started the instance but unable to see changes as we see below error on Testing Nagios UI.
Please check & suggest how to fix it.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Move only configuration to QA server
Hi [user]@lrnnetops[/user]
Let's try restarting the database backend, wait a few seconds, and then check the System Status again.
Run the following commands in order:
Let's try restarting the database backend, wait a few seconds, and then check the System Status again.
Run the following commands in order:
Code: Select all
service nagios stop
service ndo2db stop
mv /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo2db.lock.bak
mv /usr/local/nagios/var/ndo.sock /usr/local/nagios/var/ndo.sock.bak
service ndo2db start
service nagios start
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!
Re: Move only configuration to QA server
Hi benjaminsmith,
Appreciate you help. its solved the issue we were facing.
I have one more doubt about activation.
We moved our PROD Nagios XI server to AWS cloud. While migrating we took backup of our earlier PROD nagios server backup & restored it on AWS server. after that we didn't activate it with new IP (Changed AWS IP).
Do we have to reactivate our PROD nagios xi server with new AWS IP?
Also do we have to activate our Testing nagios xi server which we built from our PROD nagios XI AWS AMI?
Regards,
Rohan
Appreciate you help. its solved the issue we were facing.
I have one more doubt about activation.
We moved our PROD Nagios XI server to AWS cloud. While migrating we took backup of our earlier PROD nagios server backup & restored it on AWS server. after that we didn't activate it with new IP (Changed AWS IP).
Do we have to reactivate our PROD nagios xi server with new AWS IP?
Also do we have to activate our Testing nagios xi server which we built from our PROD nagios XI AWS AMI?
Regards,
Rohan
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Move only configuration to QA server
Hi Rohan,
Technically speaking you won't need to reactive under the new AWS IP until until renewal. However, I would recommend contacting our sales department at [email protected] and update your IP address to avoid any future interruptions.
Each Nagios XI license is approved for up to three installations: one primary monitoring/production, one backup/failover, and one test environment.
Let me know if you have any other questions.
Technically speaking you won't need to reactive under the new AWS IP until until renewal. However, I would recommend contacting our sales department at [email protected] and update your IP address to avoid any future interruptions.
Each Nagios XI license is approved for up to three installations: one primary monitoring/production, one backup/failover, and one test environment.
Let me know if you have any other questions.
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!
Re: Move only configuration to QA server
Thank you benjaminsmith for you help.
Please mark it as resolved..
Please mark it as resolved..
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Move only configuration to QA server
@Irnnetops Great. Thanks for using the Nagios support forums.Thank you benjaminsmith for you help.
Please mark it as resolved..
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!