diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-04-12 18:06:41 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-04-12 18:08:07 -0400 |
commit | 10c3d4c007bf19ccce30e003762cd05c9907c14a (patch) | |
tree | 4f0a48895b400b636d12d5a6db8eafd9b72ab32d /etc/inc | |
parent | cd11a1426d3c140918a74cb7e3efc500644e220c (diff) | |
download | pfsense-10c3d4c007bf19ccce30e003762cd05c9907c14a.zip pfsense-10c3d4c007bf19ccce30e003762cd05c9907c14a.tar.gz |
Notify via smtp as well as growl
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 | ||||
-rw-r--r-- | etc/inc/notices.inc | 2 |
2 files changed, 3 insertions, 1 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; } diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index 0cbf5fd..0ba8cc8 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -380,4 +380,4 @@ function register_via_growl() { } } -?> +?>
\ No newline at end of file |