Nagios and Wordpress

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jonno117
Posts: 2
Joined: Fri Mar 15, 2019 1:34 pm

Nagios and Wordpress

Post by jonno117 »

Good Evening,

Little bit of a dilemma I have. I'm currently using a free hosted website with the company I work for and no issues with the server itself. I was running a Wordpress based website using LAMP (obviously) and was told I needed some sort of monitoring setup as part of the teaching and learning I'm doing for other members of the team. I chose Nagios as used it in previous roles etc but it doesn't seem to like installing alongside Wordpress. It doesn't overwrite it just puts itself at the top layer and I'm not sure how to switch it that it uses the Wordpress site and not the Nagios login using the main website address.

Any help would be much appreciated - not even sure you can run a webserver alongside Nagios to be honest but worth a shout just in case someone has got this working.

P.S. it might be worth noting I still would like to be able to get to the monitoring by visiting https://website/nagiosxi but don't want it to show when visiting https://website if you get me :D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios and Wordpress

Post by cdienger »

XI installs /var/www/html/index.php which will direct users to https://website/nagiosxi. You could modify or move this file as needed and should still be able to go to https://website/nagiosxi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jonno117
Posts: 2
Joined: Fri Mar 15, 2019 1:34 pm

Re: Nagios and Wordpress

Post by jonno117 »

Awesome!

Didn't noticed it renamed the Wordpress index/php to index.php.old.
Basically just moved the new index.php which was for nagios to a new directory and renamed the Wordpress index.php.old back to index.php, ran a repair on the database for Nagios and now everything is working as I needed.

Thank you so much for your help cdienger
cdienger wrote:XI installs /var/www/html/index.php which will direct users to https://website/nagiosxi. You could modify or move this file as needed and should still be able to go to https://website/nagiosxi
:D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios and Wordpress

Post by cdienger »

Glad to hear it worked for you!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked