Cover by Wolfgang Barth

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

1.5 Configuration of the Web Interface

In order for the Web front end of Nagios to function, the Web server must know the CGI directory and the main Web directory. The following description applies to both Apache 1.3, Apache 2.0, and 2.2.

1.5.1 Setting up Apache

As long as you have not added a different address for the front end, through the configure script with -with-cgiurl, Nagios expects the CGI programs at the URL /nagios/cgi-bin (actual directory: /usr/local/na-gios/sbin) as well as the remaining HTML files below /nagios (actual directory: /usr/local/nagios/share). Nagios 3.0 includes its own make target for the Web interface, which configures the directories and sets corresponding aliases for the two URLs:

linux:~ # make install-webconf ... ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required