mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Notify via smtp as well as growl
This commit is contained in:
parent
cd11a1426d
commit
10c3d4c007
@ -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;
|
||||
}
|
||||
|
||||
@ -380,4 +380,4 @@ function register_via_growl() {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user