]>
Commit | Line | Data |
---|---|---|
e10b0808 | 1 | ## |
ea04106b | 2 | # zed.rc |
e10b0808 AX |
3 | # |
4 | # This file should be owned by root and permissioned 0600. | |
5 | ## | |
ea04106b | 6 | |
e10b0808 | 7 | ## |
ea04106b | 8 | # Absolute path to the debug output file. |
e10b0808 | 9 | # |
ea04106b AX |
10 | #ZED_DEBUG_LOG="/tmp/zed.debug.log" |
11 | ||
e10b0808 AX |
12 | ## |
13 | # Email address of the zpool administrator for receipt of notifications; | |
14 | # multiple addresses can be specified if they are delimited by whitespace. | |
15 | # Email will only be sent if ZED_EMAIL_ADDR is defined. | |
16 | # Disabled by default; uncomment to enable. | |
17 | # | |
18 | #ZED_EMAIL_ADDR="root" | |
ea04106b | 19 | |
e10b0808 AX |
20 | ## |
21 | # Name or path of executable responsible for sending notifications via email; | |
22 | # the mail program must be capable of reading a message body from stdin. | |
23 | # Email will only be sent if ZED_EMAIL_ADDR is defined. | |
24 | # | |
25 | #ZED_EMAIL_PROG="mail" | |
ea04106b | 26 | |
e10b0808 AX |
27 | ## |
28 | # Command-line options for ZED_EMAIL_PROG. | |
29 | # The string @ADDRESS@ will be replaced with the recipient email address(es). | |
30 | # The string @SUBJECT@ will be replaced with the notification subject; | |
31 | # this should be protected with quotes to prevent word-splitting. | |
32 | # Email will only be sent if ZED_EMAIL_ADDR is defined. | |
33 | # | |
34 | #ZED_EMAIL_OPTS="-s '@SUBJECT@' @ADDRESS@" | |
ea04106b | 35 | |
e10b0808 | 36 | ## |
ea04106b | 37 | # Default directory for zed lock files. |
e10b0808 | 38 | # |
ea04106b AX |
39 | #ZED_LOCKDIR="/var/lock" |
40 | ||
e10b0808 AX |
41 | ## |
42 | # Minimum number of seconds between notifications for a similar event. | |
43 | # | |
44 | #ZED_NOTIFY_INTERVAL_SECS=3600 | |
45 | ||
46 | ## | |
47 | # Notification verbosity. | |
48 | # If set to 0, suppress notification if the pool is healthy. | |
49 | # If set to 1, send notification regardless of pool health. | |
50 | # | |
51 | #ZED_NOTIFY_VERBOSE=0 | |
52 | ||
cae5b340 AX |
53 | ## |
54 | # Send notifications for 'ereport.fs.zfs.data' events. | |
55 | # Disabled by default | |
56 | # | |
57 | #ZED_NOTIFY_DATA=1 | |
58 | ||
e10b0808 AX |
59 | ## |
60 | # Pushbullet access token. | |
61 | # This grants full access to your account -- protect it accordingly! | |
62 | # <https://www.pushbullet.com/get-started> | |
63 | # <https://www.pushbullet.com/account> | |
64 | # Disabled by default; uncomment to enable. | |
65 | # | |
66 | #ZED_PUSHBULLET_ACCESS_TOKEN="" | |
67 | ||
68 | ## | |
69 | # Pushbullet channel tag for push notification feeds that can be subscribed to. | |
70 | # <https://www.pushbullet.com/my-channel> | |
71 | # If not defined, push notifications will instead be sent to all devices | |
72 | # associated with the account specified by the access token. | |
73 | # Disabled by default; uncomment to enable. | |
74 | # | |
75 | #ZED_PUSHBULLET_CHANNEL_TAG="" | |
76 | ||
77 | ## | |
ea04106b | 78 | # Default directory for zed state files. |
e10b0808 | 79 | # |
ea04106b AX |
80 | #ZED_RUNDIR="/var/run" |
81 | ||
e10b0808 | 82 | ## |
cae5b340 AX |
83 | # Turn on/off enclosure LEDs when drives get DEGRADED/FAULTED. This works for |
84 | # device mapper and multipath devices as well. Your enclosure must be | |
85 | # supported by the Linux SES driver for this to work. | |
e10b0808 | 86 | # |
cae5b340 | 87 | ZED_USE_ENCLOSURE_LEDS=1 |
e10b0808 | 88 | |
42f7b73b AX |
89 | ## |
90 | # Run a scrub after every resilver | |
91 | #ZED_SCRUB_AFTER_RESILVER=1 | |
e10b0808 AX |
92 | |
93 | ## | |
94 | # The syslog priority (e.g., specified as a "facility.level" pair). | |
95 | # | |
ea04106b AX |
96 | #ZED_SYSLOG_PRIORITY="daemon.notice" |
97 | ||
e10b0808 | 98 | ## |
ea04106b | 99 | # The syslog tag for marking zed events. |
e10b0808 | 100 | # |
ea04106b AX |
101 | #ZED_SYSLOG_TAG="zed" |
102 | ||
42f7b73b AX |
103 | ## |
104 | # Which set of event subclasses to log | |
105 | # By default, events from all subclasses are logged. | |
106 | # If ZED_SYSLOG_SUBCLASS_INCLUDE is set, only subclasses | |
107 | # matching the pattern are logged. Use the pipe symbol (|) | |
108 | # or shell wildcards (*, ?) to match multiple subclasses. | |
109 | # Otherwise, if ZED_SYSLOG_SUBCLASS_EXCLUDE is set, the | |
110 | # matching subclasses are excluded from logging. | |
111 | #ZED_SYSLOG_SUBCLASS_INCLUDE="checksum|scrub_*|vdev.*" | |
112 | #ZED_SYSLOG_SUBCLASS_EXCLUDE="statechange|config_*|history_event" | |
113 |