Changes

From Amahi Wiki
Jump to: navigation, search
6 bytes added ,  16:05, 17 July 2018
== Install the Icinga Mobile Interface ==
Time for more source work!
{{Code|<pre>cd /usr/local/src/
#if you want the latest then run git clone http://git.icinga.org/icinga-mobile.git
unzip icinga-mobile-0.1.0.zip
make compile
make install
make install-apache-config}}</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-mobile.conf
cat /etc/httpd/conf.d/icinga-mobile.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-mobile.conf are within 1002-icinga.conf before removing it
rm -f /etc/httpd/conf.d/icinga-mobile.conf*}}</pre>
Restart icinga, idoutils, and apache.
{{Code|<pre>service httpd restart}}</pre>
Now go to http://icinga/icinga-web and log in as root. Click on Admin > Users and Add new user. Give it the following settings.
12,424

edits