-
Notifications
You must be signed in to change notification settings - Fork 91
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
nut-upsd - telegram support #128
Comments
The NUT Tools package from which this container is built doesn't have built-in notifications: it provides an API for monitoring, via TCP port 3493. A typical alert system is Nagios, which has a few rivals such as OpGenie, Zabbix and/or cloud services like DataDog. If you run nagios, you can use the standard check_ups plugin and set up notifications to any medium you choose, such as the telegram integration for nagios. |
Why so complicated? In persistent storage we have file Simple SH script:
But have problem with permision of this file :(
|
Please open a pull request rather than an Issue if you want this suggestion implemented. It should implement more than one notification integration, though: why would this container image solely support Telegram: why not Twitter/X, slack, email, other APIs? |
Email is default in UPS settings. I don't know, if Twitter/X has API for this purposes. As I wrote above, I have still problem with |
In your testing, check the ownership and permissions of the shell script as well as the directory holding it (you created |
I have one idea for improvement - Telegram support, for example for sending state of UPS (without power, etc.).
The text was updated successfully, but these errors were encountered: