Feature request - Option for vzdump to only e-mail if any errors occur

obrienmd

Member
Oct 14, 2009
109
0
16
This would be awesome. We're now managing a good number of proxmox servers, and while we could set an e-mail rule in our noc to do this, it would be great to be able to do so server-side...
 
This is a really dangerous options - you will never notice when a backup hangs or something else goes wrong.
 
Could you not conditionally e-mail if the script does not complete, or if a program run as part of a backup returns an error? Does that not cover all the bases?
 
I use procmail to do this for me, if the backup contains "FAILED" then it goes to my inbox, if it doesn't contain "FAILED" it goes to another folder.

It also sends me a text message with the hostname that failed so I can double check.