I am trying to install nagios but I would like to start the web interface on a port other than 80. I cant seem to find much info on how to do that. Any help is appreciated. Thanks
I am trying to install nagios but I would like to start the web interface on a port other than 80. I cant seem to find much info on how to do that. Any help is appreciated. Thanks
I just worked on this, and figured it out. It's not ideal for some, but for me it works perfect. I just changed the default port apache2 looks at by :
Changing /etc/apache2/sites-available/default First line ( Default ) :
Changed to :
then linking default in sites-enabled ( not sure if this site is needed, but it works )
then cycle apache2 by :
Then test it out! This is what worked for me, hopefully it works for you.
If you have other web pages or apps running on the same server, the following information might be useful to separate Nagios as it's own Apache virtual host on a non-standard port (for example 43326 here).
Remove standard config and create Apache virtual host;
To beginning of file add;
To the end of the file add;
Enable the new site;
If you run a firewall (UFW), open the port;
Restart Apache