Here’s my version of how to monitor zfs pool raid in Proxmox server deployment.
Install zfs-zed package.
apt install zfs-zed
Backup the original configuration, then edit the configuration
cp -a /etc/zfs/zed.d/zed.rc{,.orig} && nano /etc/zfs/zed.d/zed.rc
Update the vaule at ZED_EMAIL_ADDR variable
ZED_EMAIL_ADDR="[email protected]"