Nagios Default Context
Path Change Steps
If you want change nasios default /nagios context path to new context path.**Marked Red color New context path
root#vi /etc/httpd/conf.d/nagios.conf
Alias /mohantool/ /usr/local/nagios/share/
Alias /mohanadmin/ /usr/local/nagios/eznag/php/mmi/
root#vi /usr/local/nagios/etc/cgi.cfg
url_html_path=/mohantool
[root@eznag conf]# /usr/sbin/apachectl stop
[root@eznag conf]# /usr/sbin/apachectl start
After that try below URL on any browser.
http://172.0.0.1/mohantool/ --> Nagios Main Page
http://172.0.0.1/mohanadmin/ --> Nagios Admin Page
This website is really very helpful as I have got very high electricity bill and I couldn't have understood what was the reason behind and with the help of this, I was able to know the reason.
ReplyDelete