Commit Graph

268 Commits

Author SHA1 Message Date
Henry Dollman e88e2bf3dc agent binary - show correct cores in lxc 2024-09-26 15:00:48 -04:00
Henry Dollman 8621a45383 remove unnecessary buffer pool 2024-09-26 14:57:01 -04:00
Henry Dollman f2ddee9216 Fix typo in extra disk I/O chart (closes #187) 2024-09-26 10:50:23 -04:00
Henry Dollman f350d61ee2 add CSP env var to set a custom Content-Security-Policy header value 2024-09-24 15:22:47 -04:00
Henry Dollman 2d670c585d optimize deletion of old records 2024-09-23 17:17:30 -04:00
Henry Dollman 55d1c00903 use same disk I/O chart component for root and extra fs 2024-09-23 13:56:15 -04:00
Henry Dollman 78a9086b55 use same disk usage chart component for root and extra fs 2024-09-23 13:42:44 -04:00
Henry Dollman 4ee169fea5 display TB in disk usage charts if value >= 1 TB 2024-09-23 13:34:40 -04:00
Henry Dollman a286bed54c update SystemInfo ts type 2024-09-18 13:02:53 -04:00
Henry Dollman 314cee081a system info refactoring 2024-09-18 12:47:06 -04:00
Henry Dollman e287124632 show swap chart only if swap is in use 2024-09-18 12:46:15 -04:00
Stavros 9cccefd3fa feat: add kernel version text (#170) 2024-09-17 13:43:58 -04:00
Henry Dollman ec95f63806 limit fields when fetching server list 2024-09-16 18:40:11 -04:00
Henry Dollman 812fe20df7 fix: update settings when visiting a settings page directly 2024-09-16 16:51:23 -04:00
Henry Dollman ddfcbc546b release 0.4.0 v0.4.0 2024-09-16 14:05:00 -04:00
Henry Dollman c74d5496af update go deps 2024-09-16 14:04:48 -04:00
Henry Dollman 060846d70a update command palette items 2024-09-16 13:38:03 -04:00
Henry Dollman e03e2b8d67 fix wrapping of y axis chart labels 2024-09-16 13:14:23 -04:00
Henry Dollman c46879694d allow FILESYSTEM env var to override root usage stats 2024-09-15 18:16:36 -04:00
Henry Dollman 61a68e5be1 refactor findMaxReadsDevice to use disk.IOCounters 2024-09-15 16:29:55 -04:00
Henry Dollman bd43a2a2c2 focus on input when new webhook added 2024-09-15 11:31:44 -04:00
Henry Dollman 3aeca6af2f add SYS_SENSORS env var 2024-09-14 18:46:16 -04:00
Henry Dollman 3e95269a7c add hostname to system info 2024-09-14 18:09:38 -04:00
Henry Dollman 53b02dd55f change extra disk charts to follow grid layout selection 2024-09-14 17:40:47 -04:00
Henry Dollman 43ba9d5c6a change NIC env var to NICS to support multiple interfaces 2024-09-14 17:30:42 -04:00
Henry Dollman 1cb4a711c3 add NIC env var 2024-09-14 16:47:12 -04:00
Henry Dollman aef99c3bd9 update package comments 2024-09-14 16:46:48 -04:00
Henry Dollman 138cbc13d6 rename package user to users 2024-09-14 16:44:53 -04:00
Henry Dollman 62d5ae8236 clean up / small refactoring 2024-09-14 15:46:42 -04:00
Henry Dollman 8ce605d65e create UserManager 2024-09-14 15:45:57 -04:00
Henry Dollman c8743201a2 allow creation of 10m record if nine 1m records 2024-09-14 15:27: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
Henry Dollman 3362a3d1cf progress on settings page 2024-09-09 20:00:09 -04:00
Henry Dollman 3b13fadde2 rm shoutrrr config info from readme 2024-09-09 13:37:09 -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
hank 1fb23ff673 Create SECURITY.md 2024-09-04 16:53:13 -04:00
Henry Dollman 29529d1a84 add EXTRA_FILESYSTEMS to systemd script and example 2024-09-04 16:22:01 -04:00
Bart 9f84629b92 Enhanced README.md (#156)
* Enhanced README.md

* Changed back to 'Sentence case'

* Changed text to reflect comment
2024-09-04 15:29:14 -04:00
Henry Dollman d2284c3fed release 0.3.0 v0.3.0 2024-09-03 18:37:02 -04:00
Henry Dollman eb420bef3a update go deps 2024-09-03 18:31:01 -04:00
Henry Dollman 9cf6c167b0 don't reset container filter when changing chart time 2024-09-03 18:26:28 -04:00
Henry Dollman fbc7f79660 add instructions for monitoring additional disks / partitions 2024-09-03 18:23:09 -04:00
Henry Dollman 37170f2bdb refactor network io stats collection (ref #150) 2024-09-03 18:10:45 -04:00
Henry Dollman af4c05e692 standardize chart values to two decimals 2024-09-03 16:49:12 -04:00
Henry Dollman 202a506485 add dialog for copy to clipboard fallback (fixes #152) 2024-09-02 19:37:44 -04:00