summaryrefslogtreecommitdiff
path: root/ctdb/config
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-03-29 14:58:49 +1100
committerMartin Schwenke <martins@samba.org>2018-05-01 13:31:18 +0200
commited80fc13444b317a8e783d82cf49e03e680ec1e8 (patch)
treebb1d89d54059cda1f7898f962069489a0d00c2b6 /ctdb/config
parent518be6d5a26771040801f76db1279912128f3bc1 (diff)
downloadsamba-ed80fc13444b317a8e783d82cf49e03e680ec1e8.tar.gz
ctdb-daemon: Provide a default location for the notification script
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/config')
-rwxr-xr-xctdb/config/notify.d.README6
-rwxr-xr-xctdb/config/notify.sh3
2 files changed, 0 insertions, 9 deletions
diff --git a/ctdb/config/notify.d.README b/ctdb/config/notify.d.README
index ffce7fab2fb..de56417159f 100755
--- a/ctdb/config/notify.d.README
+++ b/ctdb/config/notify.d.README
@@ -4,12 +4,6 @@ the event, which is one of:
init, setup, startup, unhealthy, healthy
-To use notifications with this directory then you need to set:
-
- CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh
-
-in your CTDB configuration file.
-
An example script that sends SNMP traps for unhealthy/healthy might
look like this:
diff --git a/ctdb/config/notify.sh b/ctdb/config/notify.sh
index d98f04660a1..9f947c771fc 100755
--- a/ctdb/config/notify.sh
+++ b/ctdb/config/notify.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-# This script is activated by setting CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh
-# in /etc/sysconfig/ctdb
-
# This is script is invoked from ctdb when certain events happen. See
# /etc/ctdb/notify.d/README for more details.