Problem after upgrade to R2.5
Problem after upgrade to R2.5
Hello,
We're experiencing some problems after to upgrade to last nagios xi version. We can not install new hosts and/or services. An error appears informing about an error on a services.cfg file, but this file doesn't exists!
And the import tool is not working. It seems there problems with BD.
I attach two screenshots.
Regards
We're experiencing some problems after to upgrade to last nagios xi version. We can not install new hosts and/or services. An error appears informing about an error on a services.cfg file, but this file doesn't exists!
And the import tool is not working. It seems there problems with BD.
I attach two screenshots.
Regards
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: Problem after upgrade to R2.5
Did you make sure to prep those config files first by following:
http://assets.nagios.com/downloads/nagi ... p-Tool.pdf
For the apply config fail, Can you attach the following script so we can take a look?:
Thanks!
http://assets.nagios.com/downloads/nagi ... p-Tool.pdf
For the apply config fail, Can you attach the following script so we can take a look?:
Code: Select all
/usr/local/nagiosxi/scripts/manage_services.sh
Re: Problem after upgrade to R2.5
Yes, actually we was importing without any problem until after to upgrade..
About the script, I can't connect now to the server to execute it. I will do it tomorrow. and I well send you the result.
Regards
About the script, I can't connect now to the server to execute it. I will do it tomorrow. and I well send you the result.
Regards
Re: Problem after upgrade to R2.5
Thanks for the update.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem after upgrade to R2.5
Hello,
Problem with DB was a false alarm... client was triing to import hosts and services with check_interval field in seconds....
But still have the problem when triing to apply configuration
Here the result of the script:
usr/local/nagiosxi/scripts # ./manage_services.sh checkconfig nagios
Running configuration check...
OK.
Problem with DB was a false alarm... client was triing to import hosts and services with check_interval field in seconds....
But still have the problem when triing to apply configuration
Here the result of the script:
usr/local/nagiosxi/scripts # ./manage_services.sh checkconfig nagios
Running configuration check...
OK.
Re: Problem after upgrade to R2.5
Another update:
It seems the problem is related with the "apply configuration" button, If I use the "Write config files" tool, writing, verifying and the restarting then it works correctly, so it seems is a specific problem when using apply configuration button in ccm.
Regards.
It seems the problem is related with the "apply configuration" button, If I use the "Write config files" tool, writing, verifying and the restarting then it works correctly, so it seems is a specific problem when using apply configuration button in ccm.
Regards.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Problem after upgrade to R2.5
At the command line type:
If the result starts with sudo, remove the "sudo" from #44 in the file:
Change from:
To:
Save and try Apply Configuration now.
Code: Select all
grep manage_services /usr/local/nagiosxi/scripts/restart_nagios_with_export.shCode: Select all
/usr/local/nagiosxi/scripts/restart_nagios_with_export.shCode: Select all
sudo ./manage_services.sh restart nagiosCode: Select all
./manage_services.sh restart nagiosAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Problem after upgrade to R2.5
Hello,
The result wasn't sudo at the beginning, but your solution gave me an idea... The problem was a persmission problem with manage_services.sh, it belonged to root root, so I changed it nagios nagios and it works! so problem solved.
Thanks for your support
Regards.
The result wasn't sudo at the beginning, but your solution gave me an idea... The problem was a persmission problem with manage_services.sh, it belonged to root root, so I changed it nagios nagios and it works! so problem solved.
Thanks for your support
Regards.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Problem after upgrade to R2.5
Excellent, thank you for following up, we're going to lock this up now.