https://wiki.archlinux.org/title/ZFS#Mo ... _on_Events
and
https://serverfault.com/a/605997
no email report is sent after scrubbing has finished, even with ZED_NOTIFY_VERBOSE=1
I already did a reboot to make sure that zed has read the new config file.
What can I do?
The mail client works (email is received at destination):
- Code: Select all
echo "Test"|mail -s 'Testing' email@private-domain.com
And zed is running:
- Code: Select all
$ ps aux|grep zed
root 340 0,0 0,0 34156628 3224 ?? Ss 12:09am 0:00.30 /usr/local/zfs/bin/zed -vfF
user 4248 0,0 0,0 34122828 836 s000 S+ 2:56am 0:00.00 grep zed
$ sudo launchctl list | grep zed
340 1 org.openzfsonosx.zed
- 0 com.apple.iokit.ioserviceauthorized
Main values in /etc/zfs/zed.d/zed.rc:
- Code: Select all
ZED_EMAIL_ADDR="email@private-domain.com"
ZED_EMAIL_PROG="mail"
ZED_EMAIL_OPTS="-s '@SUBJECT@' @ADDRESS@"
ZED_NOTIFY_VERBOSE=1