Changes

From Amahi Wiki
Jump to: navigation, search
9 bytes added ,  16:05, 17 July 2018
== Install the Icinga Web 2.0 Interface ==
Create the Icinga Web db/user/pass.
{{Code|<pre>hda-create-db-and-user icinga_web}}</pre>
Configure and install the new web interface.
{{Code|<pre>cd /usr/local/src/
tar -xzf icinga-web-1.4.1.tar.gz
cd icinga-web-1.4.1
make install-apache-config
make db-initialize
#Choose y for every question asked by make db-initialize}}</pre>
Now we need to do the same thing with the virtual server as we did originally with the Icinga install so that it shows up for our Virtual Host.
{{Code|<pre>ls /etc/httpd/conf.d/ <nowiki>|</nowiki> grep icinga
#you should see two files. Something like 1002-icinga.conf and icinga-web.conf
cat /etc/httpd/conf.d/icinga-web.conf >> /etc/httpd/conf.d/1002-icinga.conf
#and move </VirtualHost> from the middle of the file to the end.
#be sure to confirm that the contents of icinga-web.conf are within 1002-icinga.conf before removing it
rm -f /etc/httpd/conf.d/icinga-web.conf*}}</pre>
Restart icinga, idoutils, and apache.
{{Code|<pre>service icinga restartservice httpd restart}}</pre>Go to the webpath (http://icinga/icinga-web/) and check if the webinterface web interface starts without exceptions (database connections web and api). You can login with user 'root' and password 'password'.
== Install the Icinga Mobile Interface ==
12,424

edits