23 April 2012

Link Nagios to root of website

By default nagios is accessible at http://nagiosserver/nagios3. To have it accessible at http://nagiosserver, link the htdocs and stylesheet to /var/www (or wherever the root is located).

rm -r /var/www
ln -s /usr/share/nagios3/htdocs/ /var/www
ln -s /etc/nagios3/stylesheets /var/www


You can change /var/www to /var/www/whateever, so that it is accessible at http://nagiosserver/whatver

No comments:

Post a Comment