2015-02-18 04:23:54 +03:00
|
|
|
##
|
2014-01-22 01:30:03 +04:00
|
|
|
# zed.rc
|
2015-02-27 03:26:48 +03:00
|
|
|
#
|
|
|
|
# This file should be owned by root and permissioned 0600.
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2014-01-22 01:30:03 +04:00
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2014-01-22 01:30:03 +04:00
|
|
|
# Absolute path to the debug output file.
|
2015-02-18 04:23:54 +03:00
|
|
|
#
|
2014-01-22 01:30:03 +04:00
|
|
|
#ZED_DEBUG_LOG="/tmp/zed.debug.log"
|
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2015-07-29 01:52:40 +03:00
|
|
|
# Email address of the zpool administrator for receipt of notifications;
|
|
|
|
# multiple addresses can be specified if they are delimited by whitespace.
|
|
|
|
# Email will only be sent if ZED_EMAIL_ADDR is defined.
|
2015-02-18 04:23:54 +03:00
|
|
|
# Disabled by default; uncomment to enable.
|
|
|
|
#
|
2015-07-29 01:52:40 +03:00
|
|
|
#ZED_EMAIL_ADDR="root"
|
|
|
|
|
|
|
|
##
|
|
|
|
# Name or path of executable responsible for sending notifications via email;
|
|
|
|
# the mail program must be capable of reading a message body from stdin.
|
|
|
|
# Email will only be sent if ZED_EMAIL_ADDR is defined.
|
|
|
|
#
|
|
|
|
#ZED_EMAIL_PROG="mail"
|
|
|
|
|
|
|
|
##
|
|
|
|
# Command-line options for ZED_EMAIL_PROG.
|
|
|
|
# The string @ADDRESS@ will be replaced with the recipient email address(es).
|
|
|
|
# The string @SUBJECT@ will be replaced with the notification subject;
|
|
|
|
# this should be protected with quotes to prevent word-splitting.
|
|
|
|
# Email will only be sent if ZED_EMAIL_ADDR is defined.
|
|
|
|
#
|
|
|
|
#ZED_EMAIL_OPTS="-s '@SUBJECT@' @ADDRESS@"
|
2014-01-22 01:30:03 +04:00
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2015-02-27 03:26:25 +03:00
|
|
|
# Default directory for zed lock files.
|
2015-02-18 04:23:54 +03:00
|
|
|
#
|
2015-02-27 03:26:25 +03:00
|
|
|
#ZED_LOCKDIR="/var/lock"
|
2015-02-18 04:23:54 +03:00
|
|
|
|
|
|
|
##
|
2015-02-27 03:26:25 +03:00
|
|
|
# Minimum number of seconds between notifications for a similar event.
|
2015-02-18 04:23:54 +03:00
|
|
|
#
|
2015-02-27 03:26:25 +03:00
|
|
|
#ZED_NOTIFY_INTERVAL_SECS=3600
|
2014-01-22 01:30:03 +04:00
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2015-02-27 03:26:25 +03:00
|
|
|
# Notification verbosity.
|
|
|
|
# If set to 0, suppress notification if the pool is healthy.
|
|
|
|
# If set to 1, send notification regardless of pool health.
|
2015-02-18 04:23:54 +03:00
|
|
|
#
|
2015-02-27 03:26:25 +03:00
|
|
|
#ZED_NOTIFY_VERBOSE=0
|
2014-01-22 01:30:03 +04:00
|
|
|
|
2016-11-11 00:52:59 +03:00
|
|
|
##
|
|
|
|
# Send notifications for 'ereport.fs.zfs.data' events.
|
|
|
|
# Disabled by default
|
|
|
|
#
|
|
|
|
#ZED_NOTIFY_DATA=1
|
|
|
|
|
2015-02-27 03:26:48 +03:00
|
|
|
##
|
|
|
|
# Pushbullet access token.
|
|
|
|
# This grants full access to your account -- protect it accordingly!
|
|
|
|
# <https://www.pushbullet.com/get-started>
|
|
|
|
# <https://www.pushbullet.com/account>
|
|
|
|
# Disabled by default; uncomment to enable.
|
|
|
|
#
|
|
|
|
#ZED_PUSHBULLET_ACCESS_TOKEN=""
|
|
|
|
|
|
|
|
##
|
|
|
|
# Pushbullet channel tag for push notification feeds that can be subscribed to.
|
|
|
|
# <https://www.pushbullet.com/my-channel>
|
|
|
|
# If not defined, push notifications will instead be sent to all devices
|
|
|
|
# associated with the account specified by the access token.
|
|
|
|
# Disabled by default; uncomment to enable.
|
|
|
|
#
|
|
|
|
#ZED_PUSHBULLET_CHANNEL_TAG=""
|
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2014-01-22 01:30:03 +04:00
|
|
|
# Default directory for zed state files.
|
2015-02-18 04:23:54 +03:00
|
|
|
#
|
2014-01-22 01:30:03 +04:00
|
|
|
#ZED_RUNDIR="/var/run"
|
|
|
|
|
2016-10-19 22:55:59 +03:00
|
|
|
##
|
|
|
|
# Turn on/off enclosure LEDs when drives get DEGRADED/FAULTED. This works for
|
|
|
|
# device mapper and multipath devices as well. Your enclosure must be
|
|
|
|
# supported by the Linux SES driver for this to work.
|
|
|
|
#
|
|
|
|
ZED_USE_ENCLOSURE_LEDS=1
|
|
|
|
|
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
|
|
|
# The syslog priority (e.g., specified as a "facility.level" pair).
|
|
|
|
#
|
2014-01-22 01:30:03 +04:00
|
|
|
#ZED_SYSLOG_PRIORITY="daemon.notice"
|
|
|
|
|
2015-02-18 04:23:54 +03:00
|
|
|
##
|
2014-01-22 01:30:03 +04:00
|
|
|
# The syslog tag for marking zed events.
|
2015-02-18 04:23:54 +03:00
|
|
|
#
|
2014-01-22 01:30:03 +04:00
|
|
|
#ZED_SYSLOG_TAG="zed"
|
2014-01-25 03:47:46 +04:00
|
|
|
|