* Amahi set up and running
* and the following packages installed
{{Code|<pre>yum groupinstall "Development Tools" "Legacy Software Development"}}</pre>
== Installation ==
Anyway, go to http://hda/setup?sub=webapps&tab=app and create a new webapp and call it icinga.
Now it's time to go into the terminal. All commands will be run as root and lines that start with # are comments.{{Code|<pre>ls /etc/httpd/conf.d/ | grep icinga}}</pre>
You should see two files. Something like 1007-icinga.conf and icinga.conf
{{Code|<pre>cat /etc/httpd/conf.d/icinga.conf >> /etc/httpd/conf.d/1007-icinga.conf}}</pre>
Now edit /etc/httpd/conf.d/1007-icinga.conf
{{Code|<pre>vim /etc/httpd/conf.d/1007-icinga.conf}}</pre>
And move </VirtualHost> from the middle of the file to the end. Be sure to confirm that the contents of icinga.conf are within 1007-icinga.conf before removing it.
{{Code|<pre>rm /etc/httpd/conf.d/icinga.conf}}</pre>
Now you should have a 1007-icinga.conf file similar to the following (not exact)
{{Code|<pre><<VirtualHost *:80>>
ServerName icinga
DocumentRoot /var/hda/web-apps/icinga/html
<<Directory ""/var/hda/web-apps/icinga/html">">
Options Indexes FollowSymLinks +ExecCGI
AddHandler fcgid-script .fcg
Allow from all
<</Directory>>
ErrorLog /var/hda/web-apps/Icinga/logs/error_log
#this is the beginning of the part from icinga.conf
ScriptAlias /icinga/cgi-bin ""/usr/local/icinga/sbin"" <<Directory ""/usr/local/icinga/sbin">">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName ""Icinga Access""
AuthType Basic
AuthUserFile /usr/local/icinga/etc/htpasswd.users
Require valid-user
<</Directory>> Alias /icinga ""/usr/local/icinga/share/"" <<Directory ""/usr/local/icinga/share/">">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName ""Icinga Access""
AuthType Basic
AuthUserFile /usr/local/icinga/etc/htpasswd.users
Require valid-user
<</Directory>></VirtualHost></VirtualHostpre>}}
NOTE: The Icinga instructions should be rewritten so that it conforms to the icinga app path for Amahi standards.