Commit graph

119 commits

Author SHA1 Message Date
Alex Tau
57accba7d7 update version in pyproject 2026-01-18 16:02:59 +03:00
Alex Tau
d6feb9d498 add ups event monitoring to description 2026-01-18 16:02:10 +03:00
Alex Tau
5cd3f47d65 add docs for ups 2026-01-18 15:33:56 +03:00
Alex Tau
6c8ae03b6a stop if alert cannot be sent 2026-01-01 16:49:13 +03:00
Alex Tau
191839d30f add script for writing to the pipe 2025-12-19 18:26:11 +03:00
Alex Tau
10e79d6827 account for alert sending failing 2025-12-19 16:34:10 +03:00
Alex Tau
40e30529eb handle events sent to ups pipe 2025-12-19 15:48:01 +03:00
Alex Tau
58e47ae584 remove unused imports 2025-12-07 20:50:12 +03:00
Alex Tau
8c59bb2f31 update all flake references 2025-12-01 19:10:06 +03:00
Alex Tau
0a3923fbdd upgrade to nixos 25.11 2025-12-01 17:54:49 +03:00
Alex Tau
da480a7c4e add ups periodic checks 2025-09-13 14:40:02 +03:00
Alex Tau
09eabcc6b2 bump ver to v1.1.1 2025-08-16 13:44:26 +03:00
Alex Tau
9b884788a6 ignore first cpu check to prevent guaranteed alert on machine startup 2025-08-16 13:35:15 +03:00
Alex Tau
c355583f59 meaningful exception handling for vulnix 2025-08-16 13:24:47 +03:00
Alex Tau
d78d21c312 bump ver to v1.1.0 2025-08-16 12:11:42 +03:00
Alex Tau
240ef4dfab fix config example: replace start and stop with self 2025-08-16 12:10:40 +03:00
Alex Tau
731b0b32fc update docs to match new functionality 2025-08-16 12:08:49 +03:00
Alex Tau
878a4fc092 send start and stop healthchecks signals correctly 2025-08-15 20:11:32 +03:00
Alex Tau
13fd4b05d9 do not send reminder alerts 2025-08-15 19:30:57 +03:00
Alex Tau
5c57e1765e add slugs to checks, enabling sending them to healthchecks 2025-08-15 19:22:58 +03:00
Alex Tau
be7b3dbeed adapt rest of checks to use OK alerts 2025-08-15 18:15:13 +03:00
Alex Tau
5f9952314d try to use OK alerts to reflect successful checks 2025-08-15 18:02:43 +03:00
Alex Tau
d59d5ac4e2 add healthchecks client 2025-08-15 02:56:27 +03:00
Alex Tau
c01ab8303c prepare config for healthchecks integration 2025-08-13 16:59:23 +03:00
Alex Tau
4558cf9e6f write a readme 2025-06-14 15:18:58 +03:00
Alex Tau
8b18d407d7 network monitoring 2025-06-07 15:59:05 +03:00
Alex Tau
8af7b683b6 fix crash on remind run 2025-06-07 00:38:31 +03:00
Alex Tau
6cc3966221 /status and /ongoing 2025-06-06 15:38:48 +03:00
Alex Tau
62a25410cc update for 25.05 2025-06-06 01:14:25 +03:00
Alex Tau
f691180e9b remind about persistent alerts 2025-06-06 00:46:44 +03:00
Alex Tau
2c234b2fd0 persistent alerts 2025-06-05 22:52:57 +03:00
Alex Tau
eef6ec59b0 checkers are now objects, lay foundation for persistent alerts 2025-06-05 21:45:01 +03:00
Alex Tau
5d2759c63c retry telegram connection forever 2025-05-31 18:48:23 +03:00
Alex Tau
2488cf6b07 restart service if it fails 2025-05-30 16:55:26 +03:00
Alex Tau
da85a566c4 ram check, configurable loglevel 2025-05-13 14:15:56 +03:00
Alex Tau
5095057a13 add cpu check 2025-05-10 22:43:29 +03:00
Alex Tau
8709b019ea do not use relative paths in link text 2025-05-10 16:46:36 +03:00
Alex Tau
4cbeb4e491 replace links in autogenerated docs for better viewing on gitlab 2025-05-10 16:45:48 +03:00
Alex Tau
adb967c282 fix triple dot 2025-05-10 16:16:09 +03:00
Alex Tau
fdaf68b8b5 autogenerated docs 2025-05-10 16:14:44 +03:00
Alex Tau
1b3666276e don't require configs for disabled checks 2025-05-10 14:58:10 +03:00
Alex Tau
436855d8c1 vulnix integration 2025-05-09 15:27:22 +03:00
Alex Tau
758438382d add temp monitoring 2025-05-02 15:25:27 +03:00
Alex Tau
19ee6f487b enum instead of str for checker types, use "lego-monitoring" instead of "service" bin name 2025-04-30 17:24:52 +03:00
Alex Tau
ffdd0429b3 some actual alerts and telegram client 2025-04-30 00:16:27 +03:00
Alex Tau
f158bc3778 stub service 2025-04-28 20:04:04 +03:00
Alex Tau
19984b43f4 fix missing ; 2025-04-28 18:19:05 +03:00
Alex Tau
4d9724080e mkEnableOption prefixes with "Whether to enable" anyway 2025-04-28 18:18:10 +03:00
Alex Tau
cda20a654f nixos module that does nothing 2025-04-28 18:11:42 +03:00
Alex Tau
96e98a3044 main() is a service 2025-04-27 22:33:31 +03:00