henrygd
b13915b76f
freebsd: fix battery-related bug ( #1081 )
2025-08-26 18:39:42 -04:00
henrygd
8b655ef2b9
add battery charge monitoring
2025-08-24 20:45:38 -04:00
henrygd
a0f271545a
refactoring (no functionality changes)
2025-08-02 17:04:38 -04:00
henrygd
ce93d54aa7
fix agent data directory resolution ( #991 )
2025-07-30 14:34:36 -04:00
henrygd
402a1584d7
Add CBOR and agent initiated WebSocket connections ( #51 , #490 , #646 , #845 , etc)
...
- Add version exchange between hub and agent.
- Introduce ConnectionManager for managing WebSocket and SSH connections.
- Implement fingerprint generation and storage in agent.
- Create expiry map package to store universal tokens.
- Update config.yml configuration to include tokens.
- Enhance system management with new methods for handling system states and alerts.
- Update front-end components to support token / fingerprint management features.
- Introduce utility functions for token generation and hub URL retrieval.
Co-authored-by: nhas <jordanatararimu@gmail.com >
2025-07-08 18:41:36 -04:00
henrygd
8e072492b7
Skip checking Docker if DOCKER_HOST is set to an empty string
2025-04-28 20:23:54 -04:00
henrygd
0526c88ce0
support blacklisting and wildcard matching in SENSORS env var ( #650 )
...
- Moved sensor related code to sensors.go
- Added SensorConfig struct
- Added newSensorConfig
- Added tests
2025-04-17 21:08:05 -04:00
henrygd
968ca70670
agent temperature fixes ( #648 , #663 )
...
- Fixes a bad sensor returning an error instead of other good sensors
- Adds ability to set GPU as PRIMARY_SENSOR
2025-03-15 00:29:41 -04:00
henrygd
d25c7c58c1
fix: SYS_SENSORS context error ( #643 )
2025-03-06 05:36:20 -05:00
henrygd
c4d8deb986
feat: agent data cache to support connections to multiple hubs ( #341 )
2025-03-04 16:25:45 -05:00
henrygd
96f9128d1a
agent: add lock for gatherStats
2025-02-21 00:20:41 -05:00
henrygd
d170e7a00d
feat(agent): NETWORK env var and support for multiple keys
...
- merges agent.Run with agent.NewAgent
- separates StartServer method
- bumps go version to 1.24
- add tests
2025-02-19 00:32:27 -05:00
Henry Dollman
120aff0d18
config: prefix environment variables with BESZEL_AGENT_ ( #502 )
2025-01-29 20:13:07 -05:00
Henry Dollman
b1db450e00
enable gpu monitoring by default
2024-11-12 18:13:57 -05:00
Henry Dollman
3cd11d6bc4
improve podman support ( #211 )
2024-11-12 11:59:56 -05:00
Henry Dollman
03de73560c
add gpu power consumption chart
2024-11-08 20:31:22 -05:00
Henry Dollman
cd10727795
gpu usage and vram charts
2024-11-08 18:00:30 -05:00
Henry Dollman
8262a9a45b
progress on gpu metrics
2024-11-08 16:52:50 -05:00
Henry Dollman
741575df15
revert tweaks for old docker. needs more testing.
2024-11-02 14:43:35 -04:00
Henry Dollman
df0f3a154f
rtl layout progress and updates to arabic translations
2024-10-31 16:48:28 -04:00
Henry Dollman
4094df3a61
fix: skip temperature collection if SENSORS is empty string ( #196 )
2024-10-24 15:10:20 -04:00
Henry Dollman
b5c158d1b3
update debug logs
2024-10-19 18:12:25 -04:00
Henry Dollman
ee92e338cb
update debug log locations
2024-10-16 18:12:43 -04:00
Henry Dollman
efca56ceca
add temp debug logs to troubleshoot #196
2024-10-10 18:28:24 -04:00
Henry Dollman
64f0a23969
move fsStats creation to NewAgent function
2024-10-10 18:18:57 -04:00
Henry Dollman
73aae62c2e
add ZFS ARC memory accounting
2024-10-05 18:07:42 -04:00
Henry Dollman
af4877ca30
add MEM_CALC env var
2024-10-05 15:29:27 -04:00
Henry Dollman
66cc0a4b24
log stats on startup if log level is debug
2024-10-02 19:58:02 -04:00
Henry Dollman
f051f6a5f8
add dockerManager / fix for Docker 24 and older
...
* dockerManager now handles all docker api interaction and container metrics tracking
* sets unlimited concurrency for docker 24 and older
2024-10-02 19:45:26 -04:00
Henry Dollman
45e1283b83
move system.Info to Agent struct
...
* cleaner to store entire info struct rather than separate properties for unchanging values
2024-10-02 12:34:42 -04:00
Henry Dollman
9ab359d3cf
add SENSORS env var
2024-09-29 16:36:32 -04:00
Henry Dollman
dd84a9fd35
remove semaphore and limit docker host connections to 10
2024-09-29 12:30:30 -04:00
Henry Dollman
2f4e537f72
change containerStatsMutex to a RWMutex
2024-09-28 19:13:24 -04:00
Henry Dollman
9637363cf3
combine container.Stats and container.PrevContainerStats
2024-09-28 18:51:46 -04:00
Henry Dollman
73d0dd25ec
agent refactoring - create agent/docker.go, agent/system.go
2024-09-28 17:49:04 -04:00
Henry Dollman
2ecf5572ba
remove addr, pubKey fields from agent struct
2024-09-28 16:48:55 -04:00
Henry Dollman
5e97167ee0
Fetch kernel, hostname, cpu at start rather than every run
2024-09-28 16:38:52 -04:00
Henry Dollman
1a4862ecd9
remove containerStats mutex and add stats by index
2024-09-27 19:06:37 -04:00
Henry Dollman
4694642674
add apiContainerList variable to reduce memory allocations
2024-09-27 16:10:31 -04:00
Henry Dollman
56c0b86025
rename variables for clarity
2024-09-27 14:56:53 -04:00
Henry Dollman
82e3f3c7c1
Fix temperature sensors not reporting if any sensor lacks valid data ( #167 )
2024-09-27 13:10:13 -04:00
Henry Dollman
cc32b50d82
add agent.debug and comments
2024-09-27 12:17:19 -04:00
Henry Dollman
764e043e83
add slog and LOG_LEVEL to agent
2024-09-26 20:07:35 -04:00
Henry Dollman
cec9339f6d
allow monitoring remote mounts ( #178 ) and handle I/O edge case ( #183 )
2024-09-26 18:01:52 -04:00
Henry Dollman
06b1c2200b
reorganize agent package
2024-09-26 15:08:26 -04:00
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
Stavros
9cccefd3fa
feat: add kernel version text ( #170 )
2024-09-17 13:43:58 -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