send email from host on host ECC report

diversity

Member
Feb 19, 2020
181
8
23
52
I have a motherboard, CPU and memory on where single bit ECC detection, correction and reporting and multi bit detection and reporting is confirmed to be working.

what would be the most straightforward way to recieve an email when ever the OS receives an ECC report?
 

Dunuin

Famous Member
Jun 30, 2020
6,811
1,585
149
Germany
Do you know where the OS stores the ECC reports? Sending emails from command line (or a script) is easy as soon as a SMTP relay is setup.
You could for example write a script that monitors "/sys/devices/system/edac/mc/mc0/ce_count", "/sys/devices/system/edac/mc/mc0/ue_count" and so on and sends you an email if "ue_count" is not zero.
 
Last edited:

Dunuin

Famous Member
Jun 30, 2020
6,811
1,585
149
Germany
You proxmox server needs something like postfix or sendmail installed and configured to be able to send emails. Without that proxmox for example can't send backup reports and so on. If you aren't running a own mail server already I would recommend to setup postfix as a SMTP relay so an external SMTP server can be used to send emails.
After you setup your mail server you can send mails via CLI like this "mail -s "This is the subject" somebody@example.com <<< 'This is the message'" (needs mailutils package to be installed on debian/proxmox).
 
Last edited:

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 your own in 60 seconds.

Buy now!