Feature #12281
open
Add support for Telegram/Pushover notifications
Added by Viktor Gurov over 3 years ago.
Updated almost 3 years ago.
Description
NUT doesn't send notifications to a Telegram/Pushover backend, even when the Telegram/Pushover configuration is set up in the System configuration.
see also #11972
- Status changed from New to Pull Request Review
- Assignee set to Viktor Gurov
- Status changed from Pull Request Review to Feedback
- Status changed from Feedback to New
NUT tries to send notifications from an unprivileged user and can't do so because of the permissions on /var/db/notifyqueue.messages
. It works when they are sent as root.
For now we can at least suppress the error, but the underlying system in base will need a more substantial change to allow these kinds of messages from unprivileged users. Also, when it does work, the user will get two SMTP notifications as one is sent explicitly and the other from notify_all_remote()
.
https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/173
- Status changed from New to Feedback
- Status changed from Feedback to New
That was just the workaround to suppress the error -- the longer term fix needs more thought on how NUT can send these messages as an unprivileged user.
Also available in: Atom
PDF