Hey there fellow Proxmoxers,
I've coded a little program that you might find useful. It was inspired by the trouble I was having getting any of the mail programs to work for logging ZFS errors as reported by ZED, which comes by default with Proxmox.
I wanted to use webhooks anyways, as they're more flexible and arguably more reliable and safer. So that's what ZEDhook does; it allows you to report to yourself the errors and warning caught by ZFS Event Daemon.
You can find here the script, with full documentation:
https://github.com/leoj3n/zedhook
It's working well for me
I hope it may benefit someone else out there.
I've coded a little program that you might find useful. It was inspired by the trouble I was having getting any of the mail programs to work for logging ZFS errors as reported by ZED, which comes by default with Proxmox.
I wanted to use webhooks anyways, as they're more flexible and arguably more reliable and safer. So that's what ZEDhook does; it allows you to report to yourself the errors and warning caught by ZFS Event Daemon.
You can find here the script, with full documentation:
https://github.com/leoj3n/zedhook
It's working well for me
I hope it may benefit someone else out there.