diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-06-16 15:50:03 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-06-16 16:01:07 +0200 |
commit | 97003558aaabc992fa4fd03c57a3a869d6623dcf (patch) | |
tree | 9cbad9a55d697d031efaea9b0ed35b49bf7b8030 /Monitoring | |
parent | 0eac1b7653c2a859b2947592498330452ea54544 (diff) |
Monitoring: implemented TODOs
Diffstat (limited to 'Monitoring')
-rw-r--r-- | Monitoring/Makefile | 5 | ||||
-rw-r--r-- | Monitoring/TODO | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Monitoring/Makefile b/Monitoring/Makefile index 90c7e0c1..72269101 100644 --- a/Monitoring/Makefile +++ b/Monitoring/Makefile @@ -10,7 +10,12 @@ debian: htpasswd -bc htpasswd.users nagiosadmin krebs htpasswd -b htpasswd.users shack shackit sed -i 's/\(authorized_for_all_hosts=nagiosadmin\)$$/\1,shack/' $(NAGDIR)/cgi.cfg + sed -i 's/\(check_external_commands=\)0$$/\11/' $(NAGDIR)/nagios.cfg sed -i 's/\(authorized_for_all_services=nagiosadmin\)$$/\1,shack/' $(NAGDIR)/cgi.cfg cp -R htdocs/* $(HTDOCS) cp -r plugins $(NAGLIBDIR) /etc/init.d/nagios3 reload + chown nagios:www-data /var/lib/nagios3 || true + chown nagios:www-data /var/lib/nagios3/rw || true + chmod g+x /var/lib/nagios3 || true + chmod ug=rwx /var/lib/nagios3/rw/nagios.cmd || true diff --git a/Monitoring/TODO b/Monitoring/TODO index a3f31ff7..e69de29b 100644 --- a/Monitoring/TODO +++ b/Monitoring/TODO @@ -1,2 +0,0 @@ -check_external_commands=0 -> =1 in nagios.cfg ---> rwx -> /var/lib/nagios3/rw/nagios.cmd |