diff options
-rwxr-xr-x | src/etc/rc.carpbackup | 4 | ||||
-rwxr-xr-x | src/etc/rc.carpmaster | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/etc/rc.carpbackup b/src/etc/rc.carpbackup index e74ea3c..cddbc96 100755 --- a/src/etc/rc.carpbackup +++ b/src/etc/rc.carpbackup @@ -40,7 +40,7 @@ if (isset($_GET)) { $argument = str_replace("\n", "", $argv[1]); } if (!strstr($argument, "@")) { - log_error("Carp MASTER event triggered from wrong source {$argument}"); + log_error("CARP master event triggered from wrong source {$argument}"); } list($vhid, $iface) = explode("@", $argument); @@ -52,7 +52,7 @@ $carp_iface = "{$friendly}_vip{$vhid}"; if (is_array($vips)) { foreach ($vips as $vip) { - $notificationmsg = sprintf('Carp cluster member "(%1$s): (%2$s)" has resumed the state "BACKUP" for vhid %3$s', $argument, $friendly_descr, $vhid); + $notificationmsg = sprintf('HA cluster member "(%1$s): (%2$s)" has resumed CARP state "BACKUP" for vhid %3$s', $argument, $friendly_descr, $vhid); notify_via_smtp($notificationmsg); notify_via_growl($notificationmsg); diff --git a/src/etc/rc.carpmaster b/src/etc/rc.carpmaster index 79e8262..2441e4e 100755 --- a/src/etc/rc.carpmaster +++ b/src/etc/rc.carpmaster @@ -40,7 +40,7 @@ if (isset($_GET)) { $argument = str_replace("\n", "", $argv[1]); } if (!strstr($argument, "@")) { - log_error("Carp MASTER event triggered from wrong source {$argument}"); + log_error("CARP master event triggered from wrong source {$argument}"); } list($vhid, $iface) = explode("@", $argument); @@ -50,7 +50,7 @@ $friendly_descr = convert_friendly_interface_to_friendly_descr($friendly); $vips = link_interface_to_vips($friendly, '', $vhid); $carp_iface = "{$friendly}_vip{$vhid}"; foreach ($vips as $vip) { - $notificationmsg = sprintf('Carp cluster member "(%1$s): (%2$s)" has resumed the state "MASTER" for vhid %3$s', $argument, $friendly_descr, $vhid); + $notificationmsg = sprintf('HA cluster member "(%1$s): (%2$s)" has resumed CARP state "MASTER" for vhid %3$s', $argument, $friendly_descr, $vhid); notify_via_smtp($notificationmsg); notify_via_growl($notificationmsg); |