Sven van Ginkel
7cdd0907e8
[Feature][0.12.0-Beta] Enhance Load Average Display, Charting & Alert Grouping ( #960 )
...
* Add 1m load
* update alart dialog
* fix null data
* Remove omit zero
* change table and alert view
2025-07-16 16:03:26 -04:00
NeMeow
1ba362bafe
Add 5m and 10m load avg alerts and table values ( #816 )
...
Co-authored-by: henrygd <hank@henrygd.me >
2025-07-12 19:47:33 -04:00
henrygd
5439066f4d
hub.MakeLink method to assure URLs are formatted properly ( #805 )
...
- Updated AlertManager to replace direct app references with a hub interface.
- Changed AlertManager.app to AlertManager.hub
- Add tests for MakeLink
2025-05-08 17:47:15 -04:00
henrygd
17c8e7e1bd
Update bark notification to use url param for link
2025-04-27 14:07:33 -04:00
henrygd
f60fb6f8a9
Handle title and link for Lark notifications
2025-04-26 21:25:18 -04:00
henrygd
3eebbce2d4
Update Go dependencies
...
Also replaces containrrr/shoutrrr with pinned version of
nicholas-fedor/shoutrrr
2025-04-26 17:47:34 -04:00
henrygd
2b73d8845a
feat: allow x min downtime before alerting ( #595 , #625 )
...
- splits alerts package into three files. status alerts were not
modified aside from updating to slices.Delete method
2025-02-27 17:12:25 -05:00
henrygd
2ab2cc83de
refactor(hub): embed pocketbase fields in hub struct
2025-02-11 19:18:36 -05:00
Henry Dollman
6e08507dde
remove todo comments
2024-11-29 17:16:40 -05:00
Henry Dollman
14716d36a6
refactor go code for pocketbase 0.23.0 ( #300 )
2024-11-24 18:15:24 -05:00
Henry Dollman
8262a9a45b
progress on gpu metrics
2024-11-08 16:52:50 -05:00
Henry Dollman
6e9b84c6c7
use goroutines to send alerts
2024-10-19 14:28:41 -04:00
Yukino16
34a8053967
fix: path escape for system name in alert message ( #209 )
2024-10-17 10:31:36 -04:00
Henry Dollman
9c061774a3
update alert notification titles
2024-10-16 18:02:38 -04:00
Henry Dollman
6b6d3fabc0
change disk alert to monitor usage of any disk, not only root
2024-10-16 17:21:05 -04:00
Henry Dollman
02641ec007
time averaged thresholds for alerts
2024-10-15 21:59:53 -04:00
Henry Dollman
6c31263e60
add bandwidth alerts
2024-10-12 17:22:25 -04:00
Henry Dollman
10d348c052
temperature alerts
2024-10-12 14:57:46 -04:00
Henry Dollman
98563d643d
refactor alerts and move managers to hub struct
...
- resource alerts called from updateSystem to avoid needing to pull from db after update
2024-09-29 13:35:38 -04:00
Henry Dollman
62d5ae8236
clean up / small refactoring
2024-09-14 15:46:42 -04:00
Henry Dollman
f16e22e521
updates to settings page and alerts
2024-09-13 18:19:12 -04:00
Henry Dollman
9710d0d2f1
shoutrrr alerts / settings page
2024-09-12 19:39:27 -04:00
Henry Dollman
2889d151ea
alert / settings page updates
2024-09-11 17:47:36 -04:00
Henry Dollman
ce6e887d1b
progress on settings / alerts
2024-09-11 15:50:15 -04:00
Henry Dollman
b4cf5bb1c0
alerts updates
2024-09-10 19:38:32 -04:00
Henry Dollman
9bc7773607
further progress on settings / alerts
2024-09-10 19:03:08 -04:00
parnic
99d79f7d2d
Add support for alerts via shoutrrr ( #145 )
...
* Add support for alerts via shoutrrr
This provides users the ability to use a wide variety of notification platforms instead of just email. If there's a problem sending a notification via shoutrrr, an error is logged and email is attempted as a fallback.
Since this uses Viper, users can set a notification type and URL via either a config file or environment variable. In the beszel_data folder (where the sqlite dbs reside), create an alerts.env file to set values that way.
Values:
* NOTIFICATION_TYPE
* If this is `shoutrrr`, then the shoutrrr library is used. Any other value, including not being set, uses the fallback email behavior.
* NOTIFICATION_URL
* If NOTIFICATION_TYPE is shoutrrr, this is the URL given to shoutrrr to send the alert. See list of supported services: https://containrrr.dev/shoutrrr/services/overview/
Note: there's currently a bug in viper v1.18.2+ where environment variable overrides aren't functioning when no config file exists, so this library should remain pinned to 1.18.1 until that's fixed. See: https://github.com/spf13/viper/issues/1895
* Update documentation
* Log shoutrrr URL instead of unused "to" var
2024-09-09 13:34:43 -04:00
Henry Dollman
f9c0d0b89d
don't cache mail client ( fixes #149 )
2024-09-02 16:34:53 -04:00
Henry Dollman
e92a1d8a4d
log sent alert emails in pocketbase
2024-08-20 17:11:16 -04:00
Henry Dollman
c7e67a9b63
refactor: agent and entities
2024-08-14 14:14:41 -04:00
Henry Dollman
f8d2161489
refactor: alerts / emails
2024-08-12 19:13:42 -04:00
Henry Dollman
9da1e5751a
move application code into beszel folder
2024-08-11 13:41:57 -04:00