All of lore.kernel.org
 help / color / mirror / Atom feed
* [Drbd-dev] [PATCH] scripts/notify.sh: Fix event identification
@ 2010-05-27 23:46 YAMAGUCHI Masashi
  2010-05-28  9:13 ` Philipp Reisner
  0 siblings, 1 reply; 2+ messages in thread
From: YAMAGUCHI Masashi @ 2010-05-27 23:46 UTC (permalink / raw)
  To: drbd-dev

Hi,

"notify.sh" cannot identify the events of "notify-pri-lost.sh" and
"notify-pri-lost-after-sb.sh" so the mails sent by these scripts are
treated as "Unspecified DRBD notification".

--- drbd/scripts/notify.sh
+++ drbd/scripts/notify.sh
@@ -53,14 +53,14 @@
 on $DRBD_LOCAL_HOST.
 Please see the system logs for details."
 		;;
-	*pri-lost)
+	*pri-lost.sh)
 		SUBJECT="DRBD resource $DRBD_RESOURCE is currently Primary, but is to become SyncTarget on $DRBD_LOCAL_HOST"
 		BODY="
 The DRBD resource $DRBD_RESOURCE is currently in the Primary
 role on host $DRBD_LOCAL_HOST, but lost the SyncSource election
 process."
 		;;
-	*pri-lost-after-sb)
+	*pri-lost-after-sb.sh)
 		SUBJECT="DRBD resource $DRBD_RESOURCE is currently Primary, but lost split brain auto recovery on $DRBD_LOCAL_HOST"
 		BODY="
 The DRBD resource $DRBD_RESOURCE is currently in the Primary

---
Masashi YAMAGUCHI

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] [PATCH] scripts/notify.sh: Fix event identification
  2010-05-27 23:46 [Drbd-dev] [PATCH] scripts/notify.sh: Fix event identification YAMAGUCHI Masashi
@ 2010-05-28  9:13 ` Philipp Reisner
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Reisner @ 2010-05-28  9:13 UTC (permalink / raw)
  To: YAMAGUCHI Masashi; +Cc: drbd-dev

Am Freitag, 28. Mai 2010, um 01:46:56 schrieb YAMAGUCHI Masashi:
> Hi,
> 
> "notify.sh" cannot identify the events of "notify-pri-lost.sh" and
> "notify-pri-lost-after-sb.sh" so the mails sent by these scripts are
> treated as "Unspecified DRBD notification".
> 

Thanks for pointing that out, patch goes in.

Best,
 Phil
-- 
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com

DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27 23:46 [Drbd-dev] [PATCH] scripts/notify.sh: Fix event identification YAMAGUCHI Masashi
2010-05-28  9:13 ` Philipp Reisner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.