New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notifications should include time stamp in message #1432
Comments
The email is generated by nut upssched and out of the control of the OMV project. |
It looks like upsmon controls the message and upssched the sending of the notification/email. Does omv write/overwrite this .conf file? Or, would changing the message upstream even fix it for omv? https://github.com/networkupstools/nut/blob/master/conf/upsmon.conf.sample.in |
OMV is managing that configuration file, but it does not help to change the notification messages because The best is to find out why Postfix does not send the email before the shutdown. |
This could be interested: https://forum.openmediavault.org/index.php?thread/45897-customize-nut-notifications/&postID=335349#post335349 You can customize the |
…ironment variables. Fixes: #1432 Signed-off-by: Volker Theile <votdev@gmx.de>
We just had a brief power outage so I have confirmation the OMV_NUT_UPSSCHEDCMD_EMAIL_SUBJECT including %h showed me the date and time of the event in the subject. Thanks!!! |
This may be outside your control, I'm not sure what you are using to generate the messages.
The UPS shutdown emails sometimes don't get through until after the system is restarted. When received they appear as if they are happening now, not when the shutdown occurred. The text of the message should have the time in it so it is clear that it's an old message. This would probably be good for all notifications in case mail is in delay for other reasons.
The text was updated successfully, but these errors were encountered: