Andreas Wrede and Claude Sonnet 4.6
cffc9805f9
fix: mask api_password and access_token in settings page; add List to threshold imports
...
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-05-02 11:51:55 -04:00
Andreas Wrede and Claude Sonnet 4.6
917d6a401b
feat: composable threshold_config list for per-host threshold layering
...
threshold_config in the hosts section now accepts a list of named
configs applied left-to-right on top of the defaults, so focused
override profiles can be mixed without duplication. Single-string
and legacy host_threshold_mapping forms are unchanged.
- Add threshold_raw_configs to store per-config overrides separately
- Normalise threshold_config to list on parse (string or list)
- get_thresholds_for_host folds the list over the default base
- Update README and docs/THRESHOLD_ALERTING.md with examples
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-05-02 10:35:23 -04:00
Andreas Wrede and Claude Sonnet 4.6
2bd3a9beb6
feat: restart on SIGHUP in hbc and hbc_mini
...
Sets dorestart and triggers a clean shutdown; os.execv re-execs
the process with the original arguments after cleanup.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-05-02 10:06:26 -04:00
Andreas Wrede
5523c60866
version 5.1.12
Release / release (push) Successful in 5s
2026-05-02 08:56:04 -04:00
Andreas Wrede
ab37ac7194
undo last
Release / release (push) Failing after 5s
2026-05-02 08:51:12 -04:00
Andreas Wrede
f811a19d80
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-05-02 08:50:40 -04:00
Andreas Wrede
6239825f43
allow manual release workflow
2026-05-02 08:50:37 -04:00
Andreas Wrede
b56245bb23
Specify tag for workflow
2026-05-02 08:46:12 -04:00
Andreas Wrede
331c4e804d
allow manual release workflow
2026-05-02 08:36:33 -04:00
Andreas Wrede
9fd945a481
fix install under docker
2026-05-02 08:32:14 -04:00
Andreas Wrede
26df08eeff
version 5.1.11
Release / release (push) Failing after 5s
2026-05-02 07:55:27 -04:00
Andreas Wrede
5819dd6b25
cleanup install script
2026-05-02 07:55:18 -04:00
Andreas Wrede
6fb67f8615
version 5.1.10
Release / release (push) Successful in 5s
2026-05-01 13:50:15 -04:00
Andreas Wrede
e70ae6f176
fix: change version in hbc_mini as well
2026-05-01 13:50:04 -04:00
Andreas Wrede
a77f6d380c
fix: install script should not copy over itself
2026-05-01 12:48:29 -04:00
Andreas Wrede
6aae2a1dab
version 5.1.9
Release / release (push) Successful in 6s
2026-05-01 11:13:51 -04:00
Andreas Wrede
85ee0e1040
install hbc_mini via package or script
2026-05-01 11:13:33 -04:00
Andreas Wrede and Claude Sonnet 4.6
c4f09e9ced
version 5.1.8
...
Release / release (push) Successful in 5s
- fix: matrix/sms_voipms notifications blocked the event loop on timeout;
make send_notification async, dispatch all channel drivers as non-blocking
tasks (asyncio.to_thread for sync drivers, asyncio.wait_for for async);
update all call sites to fire-and-forget via create_task
- feat: add /about page with version, runtime, uptime counter, and repo link
- fix: hbc_mini plugin data format now matches full hbc client so Host
Overview displays memory, disk, and network metrics correctly
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-05-01 05:33:27 -04:00
Andreas Wrede
64710fd4cd
tweak h1 margins
2026-05-01 04:51:11 -04:00
Andreas Wrede
1f5e7465a3
fix nav bar position
2026-05-01 04:32:04 -04:00
Andreas Wrede
b290b21e23
track hbc type and version
2026-04-30 18:22:35 -04:00
Andreas Wrede
65c4267847
version 5.1.7
Release / release (push) Successful in 5s
2026-04-30 17:50:46 -04:00
Andreas Wrede and Claude Sonnet 4.6
462a445235
feat: add hbc_mini single-file client; drop dead connections on protocol error
...
- scripts/hbc_mini.py: self-contained hbc with no external deps; uses
/proc for CPU/memory/network on Linux, df for disk, JSON config
- hbc + hbc_mini: mark connection _dead and stop sending on protocol error
- README: document hbc_mini usage, config, and plugin availability
- pyproject.toml: include hbc_mini.py in script-files
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-04-30 17:50:19 -04:00
Andreas Wrede
368e178f93
install the hb_install.sh script
2026-04-30 17:03:37 -04:00
Andreas Wrede
6905bf266a
version 5.1.6
Release / release (push) Successful in 5s
2026-04-30 15:39:11 -04:00
Andreas Wrede
b6dcce4f35
simplify eventlog usage, fix arguments
2026-04-30 15:38:46 -04:00
Andreas Wrede
e6436fc236
version 5.1.5
Release / release (push) Successful in 5s
2026-04-30 13:55:21 -04:00
Andreas Wrede and Claude Sonnet 4.6
c5ce41762e
feat: update hbc via hb_install.sh instead of code patching
...
Server now sends a bare UPD command; client runs hb_install.sh to
reinstall from the package registry, then restarts. hb_install.sh
also copies itself alongside hbc on client installs.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-04-30 13:55:15 -04:00
Andreas Wrede
26ca0c095f
install.sh --> hb_innstall.sh
2026-04-30 09:54:48 -04:00
Andreas Wrede
1eecd67594
update docu
2026-04-30 09:19:11 -04:00
Andreas Wrede
caf3c2c0ac
don't error exit on pip insttalled test
2026-04-30 09:16:22 -04:00
Andreas Wrede
9af4006097
version 5.1.4
Release / release (push) Successful in 6s
2026-04-30 08:12:15 -04:00
Andreas Wrede and Claude Sonnet 4.6
ddf7067d13
feat: redesign Plugin Metrics page as Host Overview
...
Replace pill-tab plugin view with an accordion layout that shows key
metrics (CPU%, MEM%, top disk%, net delta, nagios status) at a glance
in each host card header. Plugin sections expand as structured tables.
- Rename page to "Host Overview" (URL /plugins unchanged)
- Three-wave parallel data loading: glance plugins on host expand,
on-demand fetch for filesystem_info and extras
- Per-plugin table renderers with inline percent bars and threshold
colour coding
- Add escHtml() for XSS-safe rendering of all field values
- Remove stale planning docs (REFACTORING.md, hbd/Plan.md)
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-04-30 08:12:07 -04:00
Andreas Wrede
5c382d2b8d
One more nit
2026-04-13 09:31:35 -04:00
Andreas Wrede
35bba451f5
Various formating nits
2026-04-13 09:27:51 -04:00
Andreas Wrede
80edfba0c0
fix inconsistencies in page layout, add swiss clock
2026-04-13 08:45:50 -04:00
Andreas Wrede
6bc8de192e
fix non-alerting of overdue hosts
2026-04-12 18:44:36 -04:00
Andreas Wrede
2d8166d04a
unse python3 -mpip instead of plain pip
2026-04-12 18:44:11 -04:00
Andreas Wrede
ab33d81b30
catch syntax wanring when parsing version string
2026-04-12 16:39:51 -04:00
Andreas Wrede
2c0328f36d
update install.sh to handle missing venv module
2026-04-12 16:39:14 -04:00
Andreas Wrede
fb8e27825d
make install.sh work on systems withou pip
2026-04-12 14:16:44 -04:00
Andreas Wrede
1366c69cdc
version 5.1.1
Release / release (push) Successful in 5s
2026-04-12 13:06:30 -04:00
Andreas Wrede
d0c8c186f4
Fix typo
2026-04-12 13:04:17 -04:00
Andreas Wrede
19f7c8312e
Mkae columns sortabel agian, check hbc version, provide modile html pages
2026-04-12 12:53:00 -04:00
Andreas Wrede
24b0e362fb
provide cli function stop, restart and reload for hbd
...
Thought for 1s
2026-04-12 12:06:07 -04:00
Andreas Wrede
3a030548c0
Fix profile not updating
2026-04-12 11:57:12 -04:00
Andreas Wrede
094cb7ed9d
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-12 11:23:28 -04:00
Andreas Wrede
0199ca4693
re-factor notifications, add sms and matrix as channels
2026-04-12 11:21:21 -04:00
Andreas Wrede
75344ebbbd
re-factor notifications, add sms and matrix as channels
2026-04-12 11:04:00 -04:00
Andreas Wrede
7f049a4e26
accept websocket connection on http:.../ws
2026-04-12 06:44:32 -04:00
Andreas Wrede
6559f5462c
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-12 06:34:28 -04:00
Andreas Wrede
6556d35f97
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-12 06:32:52 -04:00
Andreas Wrede
dec96a0da6
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-11 16:40:02 -04:00
Andreas Wrede
8d3de01117
Update install script
2026-04-11 16:36:20 -04:00
Andreas Wrede
5bedf026b1
Update install script
2026-04-11 16:19:41 -04:00
Andreas Wrede
daf5277507
version 5.1.0
Release / release (push) Successful in 5s
2026-04-11 15:26:37 -04:00
Andreas Wrede
ee3b72878f
Add a ping monitor
2026-04-11 15:25:23 -04:00
Andreas Wrede
6217f7a124
fix bogus notification on new clients
2026-04-10 13:39:18 -04:00
Andreas Wrede
2468386f24
adjust default log, pick and config locations. renotify on critical only, make user sessions persistem
2026-04-10 13:24:57 -04:00
Andreas Wrede
2015195112
Grace interval on restart of hbd, fix SIGHUP processing
2026-04-10 12:58:38 -04:00
Andreas Wrede
3426185383
Set SO_TIMESTAMP correctly for the various platforms
2026-04-10 11:19:47 -04:00
Andreas Wrede
9eedbafe97
Show overdue in alerts instead of null
2026-04-10 09:20:28 -04:00
Andreas Wrede
a5f31c5cb5
update picked data strucures
2026-04-10 09:18:38 -04:00
Andreas Wrede
2f72cf0118
typo
2026-04-10 09:17:57 -04:00
Andreas Wrede
c56e77c2c1
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-10 08:20:40 -04:00
Andreas Wrede
e9aa7a6f8b
info only if no nagios command is defined
2026-04-10 08:19:59 -04:00
Andreas Wrede
a75a8a4087
warn only if no nagios command is defined
2026-04-10 08:14:31 -04:00
Andreas Wrede
ba27d2e300
Add count to rtt threshold
2026-04-10 08:07:50 -04:00
Andreas Wrede
381e37efce
fix log-section height
2026-04-10 08:01:22 -04:00
Andreas Wrede
97dfc08f4d
fix log level settiung
2026-04-10 08:00:51 -04:00
Andreas Wrede
d281ac5a70
provide defaults for threshold_configs
2026-04-10 07:47:39 -04:00
Andreas Wrede
812bbf8555
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-09 13:02:17 -04:00
Andreas Wrede
e6b7a1aa27
drop config file
2026-04-09 13:02:10 -04:00
Andreas Wrede
90f47ad018
drop config file
2026-04-09 13:00:07 -04:00
Andreas Wrede
cc458e8972
update README
2026-04-09 08:33:25 -04:00
Andreas Wrede
3232239a85
version 5.0.11
Release / release (push) Successful in 5s
2026-04-07 14:19:46 -04:00
Andreas Wrede
014781de5e
Merge branch 'master' of git.wrede.ca:andreas/heartbeat
2026-04-07 14:16:12 -04:00
Andreas Wrede
68b1c65384
version 5.0.10
2026-04-07 14:15:46 -04:00
Andreas Wrede
e8bb553349
version 5.0.10
Release / release (push) Failing after 4s
2026-04-07 14:11:03 -04:00
Andreas Wrede
e4ecb8723f
release a pypi package on gitea
2026-04-07 14:10:07 -04:00
Andreas Wrede
5edbaacf81
version 5.0.9
Release / release (push) Successful in 15s
2026-04-07 11:02:19 -04:00
Andreas Wrede
8421f472f2
there is only one __version__
2026-04-07 11:00:22 -04:00
Andreas Wrede
51f9bdc2b5
use SO_TIMESTAMP, works on Linux, FreeBSD and macOS
2026-04-07 10:46:54 -04:00
Andreas Wrede
57c4b86430
version 5.0.8
Release / release (push) Successful in 6s
2026-04-04 15:18:12 -04:00
Andreas Wrede
43fad7beed
fix release.yml for freebsd runner
2026-04-04 15:11:56 -04:00
Andreas Wrede
8dd002d159
version 5.0.7
Release / release (push) Failing after 1s
2026-04-04 14:45:10 -04:00
Andreas Wrede
2373b55d8b
fix actions host label. cp[e woth debian flavor sed
2026-04-04 14:43:07 -04:00
Andreas Wrede
81530636ec
version 5.0.6
Release / release (push) Has been cancelled
2026-04-04 13:54:19 -04:00
Andreas Wrede
190199b36d
Add a release workflow
2026-04-04 13:00:17 -04:00
Andreas Wrede
73aa89f8f4
fix web page issues
2026-04-04 12:43:30 -04:00
Andreas Wrede
941f3ea4b0
display and acknowledge alerts
2026-04-03 06:35:45 -04:00
Andreas Wrede
c5770006f7
hbc proper termination, hbd config reloadable
2026-04-02 07:17:00 -04:00
Andreas Wrede
84c1aef51f
removal of cver
2026-04-01 20:47:29 -04:00
Andreas Wrede
460d2be9e9
Fix rtt, including bug in time compute
2026-04-01 19:41:53 -04:00
Andreas Wrede
090d341244
per-client threshold config
2026-04-01 15:22:42 -04:00
Andreas Wrede
079e84f729
display tag fro alterts, cleanup udp
2026-04-01 11:49:55 -04:00
Andreas Wrede
dd23d9d163
refactor monitor, add threshold rtesting
2026-03-31 12:22:03 -04:00
Andreas Wrede
ad7178ebcb
Move threshhold to server, move eventlog to notify
2026-03-29 20:29:33 -04:00
Andreas Wrede
0543266c92
Major refactoring of the codebase, including restructuring of files and directories, renaming of modules and classes, and improvements to the overall organization and readability of the code. This refactoring aims to enhance maintainability, scalability, and clarity of the codebase while preserving existing functionality. The changes include:
...
- Restructuring of the project directory into client and server components
- Renaming of modules and classes to better reflect their purpose and functionality
- Moving common utilities and configurations to a shared location
- Updating import statements to reflect the new structure
- Adding new documentation files for better clarity on various aspects of the project
- Removing deprecated or unused code to streamline the codebase
- Ensuring that all existing functionality is preserved and that the codebase remains functional after the refactoring.
2026-03-29 11:13:40 -04:00
Andreas Wrede
7e2038ecac
version 5.0.5
2026-02-16 10:54:16 -05:00