[SOLVED] include site name in e-mail notification

cholzer

Member
Nov 5, 2021
32
7
13
45
Hi!

I tried to find any info on how I can customize the alert e-mail notification I get but I could not find any info on that.

When I get a notification then it is from "root", I have no idea which site/instance it came from - not even the body of the e-mail tells me the site name.

notification.jpg

Is there a way how I can have the name of the site (pve.FWDM.com) appear as sender so that I know at a glance which installation sent me that notification?
 
the daemon/program 'zed' is responsible for the zfs notifications

in /etc/zfs/zed.d/zed.rc you have some options to set

see 'man zed' for more details (and the comments in the file itself)
 
  • Like
Reactions: cholzer
the daemon/program 'zed' is responsible for the zfs notifications

in /etc/zfs/zed.d/zed.rc you have some options to set

see 'man zed' for more details (and the comments in the file itself)
Thank you for the fast and helpful reply!

/etc/zfs/zed.d/zed.rc

Code:
ZED_EMAIL_OPTS="-s '@SUBJECT@' @ADDRESS@ -r pve@FQDM.com"

Gave me the desired result. :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!