notwendige pakete
- [thomas@barclay local]$ sudo pacman -S libmariadbclient monitoring-plugins yajl postgresql-libs libmariadbclient cmake boost yajl boost-libs php php-apache
icinga2 download, entpacken, bauen und installieren
icinga-classic-ui download, entpacken, bauen und installieren
icingaadmin anlegen
- [root@barclay icinga2]# htpasswd -b -c /etc/icinga2/users icingaadmin 'sysadm'
anpassen des webserver
- [root@barclay ~]# mv /etc/httpd/conf.d/icinga.conf /etc/httpd/conf/extra/icinga.conf
/etc/http/conf/httpd.conf
#dies muss raus ...
#LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
LoadModule php5_module modules/libphp5.so
LoadModule cgi_module modules/mod_cgi.so
Include conf/extra/icinga.conf
Include "conf/extra/php5_module.conf"
php_admin_flag safe_mode Off
php_admin_value open_basedir none
feature enablen
- [root@barclay ~]# icinga2 feature enable statusdata compatlog command
user http zur gruppe icingacmd fügen
- [root@barclay icinga2]# gpasswd -a http icingacmd