Notify via smtp as well as growl

This commit is contained in:
Scott Ullrich 2011-04-12 18:06:41 -04:00
parent cd11a1426d
commit 10c3d4c007
2 changed files with 3 additions and 1 deletions

View File

@ -433,6 +433,7 @@ function return_gateway_groups_array() {
if ($gwdown == true) {
log_error($msg);
notify_via_growl($msg);
notify_via_smtp($msg);
} else
/* Online add member */
$tiers[$tier][] = $gwname;
@ -445,6 +446,7 @@ function return_gateway_groups_array() {
$msg = "Gateways status could not be determined, considering all as up/active.";
log_error($msg);
notify_via_growl($msg);
notify_via_smtp($msg);
}
$tiers = $backupplan;
}

View File

@ -380,4 +380,4 @@ function register_via_growl() {
}
}
?>
?>