switch to icinge

This commit is contained in:
Mario Fetka
2017-05-23 13:45:29 +02:00
parent ef1ae661e7
commit 4631e71492
4 changed files with 7 additions and 7 deletions

4
debian/postinst vendored
View File

@@ -52,8 +52,8 @@ case "$1" in
for file in `find /etc/nagiosql -type f -name \*.cfg 2> /dev/null`; do
[ -f $file ] && setperm www-data nagios 0644 $file
done
# -- /etc/nagios4 config files
for cfg in /etc/nagios4/nagios.cfg /etc/nagios/nagios4/cgi.cfg ; do
# -- /etc/icinga config files
for cfg in /etc/icinga/icinga.cfg /etc/nagios/icinga/cgi.cfg ; do
[ -e $cfg ] && setgrperm www-data 0644 $cfg
done
# -- at last