![]() The nrpe configuration is done in /etc/nrpe/nrpe.cfg and the interesting files to monitor will be in /usr/share/nagios/libexec/. You will need monitoring-plugins and either nrpe or use check_by_ssh along with passwordless ssh to monitor your host. Now you should be able to access nagios through your webbrowser using the username and password you have created above using htpasswd: Start, or restart, your webserver: rvice for Apache, rvice for Nginx, and rvice for lightttpd.Open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps:/etc/webapps:/usr/share/nagios Final steps Note that mod_setenv, mod_cgi, mod_alias and mod_auth must be allowed.Įdit /etc/php/php.ini to include /usr/share/nagios in the open_basedir directive. "/nagios/cgi-bin" => "/usr/share/nagios/sbin",Ī = "/etc/nagios/ers" # Fixes the fact some links are expected to resolve to /nagios, see here. ![]() Rewrite ^/nagios/cgi-bin/(.*)\.cgi /$1.cgi break
0 Comments
Leave a Reply. |