summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-04-12 18:06:41 -0400
committerScott Ullrich <sullrich@pfsense.org>2011-04-12 18:08:07 -0400
commit10c3d4c007bf19ccce30e003762cd05c9907c14a (patch)
tree4f0a48895b400b636d12d5a6db8eafd9b72ab32d /etc/inc/gwlb.inc
parentcd11a1426d3c140918a74cb7e3efc500644e220c (diff)
downloadpfsense-10c3d4c007bf19ccce30e003762cd05c9907c14a.zip
pfsense-10c3d4c007bf19ccce30e003762cd05c9907c14a.tar.gz
Notify via smtp as well as growl
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 2a611f8..2ccc235 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -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;
}
OpenPOWER on IntegriCloud