Project

General

Profile

« Previous | Next » 

Revision f4105497

Added by Renato Botelho almost 10 years ago

Fix carp(master|backup) notification message

View differences:

src/etc/rc.carpmaster
51 51
$vips = link_interface_to_vips($friendly, '', $vhid);
52 52
$carp_iface = "{$friendly}_vip{$vhid}";
53 53
foreach ($vips as $vip) {
54
	$notificationmsg = sprintf('Carp cluster member "{$friendly_descr)(%2$s): {$vip["subnet"]} (%1$s)" has resumed the state "MASTER" for vhid %s', $argument, $vip['descr'], $vhid);
54
	$notificationmsg = sprintf('Carp cluster member "(%1$s): (%2$s)" has resumed the state "MASTER" for vhid %3$s', $argument, $friendly_descr, $vhid);
55 55

  
56 56
	notify_via_smtp($notificationmsg);
57 57
	notify_via_growl($notificationmsg);

Also available in: Unified diff