From ArchWiki
Jump to: navigation, search

For use with lighttpd without htpasswd

Helped from the gentoo wiki I created a plain text /etc/nagios/passwd containing this line:


Then I used this config for setting it up with lighttpd (/etc/lighttpd/conf.d/nagios.conf):

$HTTP["url"] =~ "^/nagios" {
        alias.url = (
                "/nagios/cgi-bin" => "/usr/share/nagios/sbin",
                "/nagios" => "/usr/share/nagios/share" 

        $HTTP["url"] =~ "^/nagios/cgi-bin" {
                cgi.assign = ( "" => "" )

        #auth.backend = "htpasswd" 
        #auth.backend.htpasswd.userfile = "/etc/nagios/passwd" 
        auth.backend ="plain"    # The password is stored as plain text as user:password in...
        auth.backend.plain.userfile = "/etc/nagios/passwd"  # this file
        auth.require = ( "" => (
                "method" => "basic",
                "realm" => "nagios",
                "require" => "user=nagiosadmin" 

If anybody needs anything specific please indicate.

Webserver and other sub sections

Currently, the #Installation and other Configuration section are inside the #Webserver section. However, Nagios and PHP are not webservers, so it seems to me this subdivision is incorrect. I propose the following:

  1. Make "Installation" and "Configuration" level2 headings (with just "==" before and after the title text)
  2. Installation and configuration instructions be moved and subdivided inside them.
  3. Webserver information could be divided in (1) keep the current mention of optional but good for CGI (in #Webserver); (2) Installation of webserver, in the #Installation, mentions the options between Apache, Nginx, lighttpd and any other, but relying on main article's install instructions; (3) Configuration of webserver, in the #Configuration, mentions specifics and non-duplicated steps for Nagios.
  4. PHP likewise.

Any thoughts? -- Josephgbr (talk) 16:55, 11 November 2018 (UTC)

Create a Plugins section

How about creating a Plugins section to hold information of each plugins? Currently there is a level2 heading #Plugin check_rdiff, but I was considering to add about NRPE too. -- Josephgbr (talk) 17:16, 11 November 2018 (UTC)