Hi,
I am working on upgrading my RHEL 5 server to RHEL 7, then migrating Nagios 4.0.8 to the new server.
I have take the following steps:
1. install fresh copy of Nagios on rhel7, this was setup fine and i was able to access nagios in my web browser and make localhost checks
2. i migrated the following files from nagios on rhel5 to rhel7
- /usr/local/nagios/etc/*.cfg
- /usr/local/nagios/etc/objects/*.cfg
- /usr/local/nagios/libex
-/etc/httpd/conf.d/nagios.conf
3. ran a preflight check on nagios, all was OK, no Errors
4. restarted nagios service
I now see all my services but none of them are successfully making checks PLUS my webpage background is lost, its just a white background with text .
what could i be missing? something to do with user permission?
Thanks,
Nagios 4.0.8 Migration
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios 4.0.8 Migration
Are the old and new servers different architectures? Is RHEL 5 = x86 and RHEL 7 = x86_64 ?
If this is the case then executables from the old system will not correctly work on the new system. Specifically when you copied this directory:
/usr/local/nagios/libex
Is likely one of your issues.
You should re-compile/install Nagios Plugins on your new server.
Also, when you replaced this file:
/etc/httpd/conf.d/nagios.conf
It may have also contributed to your issue.
Did you take backups of these files before replacing them?
If this is the case then executables from the old system will not correctly work on the new system. Specifically when you copied this directory:
/usr/local/nagios/libex
Is likely one of your issues.
You should re-compile/install Nagios Plugins on your new server.
Also, when you replaced this file:
/etc/httpd/conf.d/nagios.conf
It may have also contributed to your issue.
Did you take backups of these files before replacing them?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios 4.0.8 Migration
i just downloaded a new theme and placed it in /usr/local/nagios/share and is working ok
you may close this case thanks
you may close this case thanks