Skip to content

Commit

Permalink
Enable zed emails
Browse files Browse the repository at this point in the history
The OpenZFS event daemon monitors pools. This patch enables the email sending
function by default (if zed is installed). This is consistent with the default
behavior of mdadm.

Signed-off-by: Thomas Lamprecht <[email protected]>
  • Loading branch information
rlaager authored and root committed Jan 2, 2020
1 parent d9159c9 commit 2eb113d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/zed/zed.d/zed.rc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Email will only be sent if ZED_EMAIL_ADDR is defined.
# Disabled by default; uncomment to enable.
#
#ZED_EMAIL_ADDR="root"
ZED_EMAIL_ADDR="root"

##
# Name or path of executable responsible for sending notifications via email;
Expand All @@ -41,7 +41,7 @@
##
# Minimum number of seconds between notifications for a similar event.
#
#ZED_NOTIFY_INTERVAL_SECS=3600
ZED_NOTIFY_INTERVAL_SECS=3600

##
# Notification verbosity.
Expand Down

0 comments on commit 2eb113d

Please sign in to comment.