NagiosQL for Debian ------------------- NagiosQL comes with a web based installer. For security reason you have to enable it manually: sudo touch /usr/share/nagiosql/htdocs/install/ENABLE_INSTALLER Start your browser and enter http:///nagiosql. After installation, you must remove the file ENABLE_INSTALLER, otherwise you can' start using NagiosQL: sudo rm /usr/share/nagiosql/htdocs/install/ENABLE_INSTALLER In the Webfrontend of NagiosQL login in as user Admin and go to Administration/Domains -> domain 'localhost'. Please check the settings and change it to your needs. For security reasons nagios.cfg and cgi.cfg are not writeable to www-data as NagiosQL request it. You can read the config files through the web frontend, but not edit. Unfortunately NagiosQL requests a writeable nagios.cfg for adding domains or changing values of existing domains. You can perform the following steps to change permissions of nagios.cfg and cgi.cfg permanently: dpkg-statoverride --update --add nagios www-data 0664 /etc/nagios4/nagios.cfg dpkg-statoverride --update --add nagios www-data 0664 /etc/nagios4/cgi.cfg Additional remarks: - this package comes with a configured domain 'localhost' and uses the following pathes: /etc/nagiosql/domains/localhost = misc nagios objects /etc/nagiosql/domains/localhost/hosts = host object /etc/nagiosql/domains/localhost/services = service objects /etc/nagiosql/domain-backups/localhost /etc/nagiosql/domain-backups/localhost/hosts /etc/nagiosql/domain-backups/localhost/services - add the following line to nagios.cfg: cfg_dir=/etc/nagiosql/domains/localhost check the configs via the web interface and reload nagios4: /etc/init.d/nagios4 reload -- Wolfgang Barth Sat, 13 Jun 2009 12:30:28 +0200