Module: check_mk
Branch: master
Commit: 8d8c609a146b8c4748ae82eb74059792da249776
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8d8c609a146b8c…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Sep 23 15:07:54 2013 +0200
fixing notifications: /var/lib/check_mk/notify directory is now created correctly during
setup from tgz file. (Without it notifications did not get sent out.)
---
ChangeLog | 3 +++
scripts/setup.sh | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7d15bf5..0dc4ccd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -485,6 +485,9 @@
* FIX: check_dns: parameter -A does not get an additional string
* FIX: diskstat: Fixed wrong values for IO/s computation on linux hosts
* FIX: blade_healts: Fixed wrong index checking resulting in exceptions
+ * FIX: notifications: /var/lib/check_mk/notify directory is now created
+ correctly during setup from tgz file. (Without it notifications
+ did not get sent out.)
Multisite:
* FIX: LDAP: Disabling use of referrals in active directory configuration
diff --git a/scripts/setup.sh b/scripts/setup.sh
index 696f62e..76d8392 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -812,9 +812,9 @@ do
sed -ri 's@^export MK_LIBDIR="(.*)"@export
MK_LIBDIR="'"$agentslibdir"'"@' $agent
sed -ri 's@^export MK_CONFDIR="(.*)"@export
MK_CONFDIR="'"$agentsconfdir"'"@' $agent
done &&
- mkdir -p $DESTDIR$vardir/{autochecks,counters,precompiled,cache,logwatch,web,wato}
&&
+ mkdir -p
$DESTDIR$vardir/{autochecks,counters,precompiled,cache,logwatch,web,wato,notify}
&&
if [ -z "$DESTDIR" ] && id "$nagiosuser" > /dev/null
2>&1 && [ $UID = 0 ] ; then
- chown -R $nagiosuser $DESTDIR$vardir/{counters,cache,logwatch}
+ chown -R $nagiosuser $DESTDIR$vardir/{counters,cache,logwatch,notify}
chown $nagiosuser $DESTDIR$vardir/web
fi &&
mkdir -p $DESTDIR$confdir/conf.d &&