Page 1 of 1

Nagios 4.0.8 Migration

Posted: Fri Sep 23, 2016 4:40 pm
by scheema31
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,

Re: Nagios 4.0.8 Migration

Posted: Sun Sep 25, 2016 7:40 pm
by Box293
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?

Re: Nagios 4.0.8 Migration

Posted: Thu Sep 29, 2016 2:01 pm
by scheema31
i just downloaded a new theme and placed it in /usr/local/nagios/share and is working ok :)

you may close this case thanks