Enable Nagios in /etc/rc.conf with the following line:


 Configuration templates are available in /usr/local/etc/nagios as
 *.cfg-sample files.  Copy them to *.cfg files where required and
 edit to suit your needs.  Documentation is available in HTML form
 in /usr/local/www/nagios/docs.

 If you don't already have a web server running, you will need to
 install and configure one to finish off your Nagios installation.
 When used with Apache, the following should be sufficient to publish
 the web component of Nagios (modify the allow list to suit):

   <Directory /usr/local/www/nagios>
     Order deny,allow
     Deny from all
     Allow from
     php_flag engine on
     php_admin_value open_basedir /usr/local/www/nagios/:/var/spool/nagios/

   <Directory /usr/local/www/nagios/cgi-bin>
     Options ExecCGI

   ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/
   Alias /nagios/ /usr/local/www/nagios/



 apt-get install icinga
 apt-get install apache2 build-essential libgd2-xpm-dev
 apt-get install libjpeg62 libjpeg62-dev libpng12-0 libpng12-dev

 AuthUserFile /etc/icinga/htpasswd.usersがあるので、
 sudo htpasswd -c  /etc/icinga/htpasswd.users icingaadmin
 sudo htpasswd -c  /etc/icinga/htpasswd.users kanai


 sudo update-rc.d icinga defaults
 > boot時に起動

 apt-get install mysql-server libdbd-mysql mysql-client
 apt-get install icinga icinga-cgi icinga-core icinga-doc icinga-idoutils
 apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-gd php5-ldap php5-mysql
 apt-get install icinga-web


less /usr/share/doc/icinga-web/README.Debian