Commit graph

102 commits

Author SHA1 Message Date
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
Alex Tau
75ff4edeed can I at least change the project name? kthxbye 2025-04-27 21:48:18 +03:00
Alex Tau
83a5ff3909 hello, uv2nix world 2025-04-27 21:42:05 +03:00
Alex Tau
4fc491f61a move existing stuff to archive dir (for now) 2025-04-27 20:39:07 +03:00
Alex
ae1204449c disabling checks 2025-01-18 14:47:56 +03:00
Alex
40a92932a2 sleep after getting the lock 2025-01-09 17:43:19 +03:00
Alex
b1b06b2e51 delayed login alerts to prevent spam with mass logins 2025-01-07 17:42:00 +03:00
Alex
0e177210f6 login alerts 2025-01-07 02:52:19 +03:00
Alex
3eb358d618 use NestedDeserializableDataclass for config 2025-01-07 01:43:39 +03:00
Alex
96664684f8 print last update time for docker registry images 2024-12-22 23:43:41 +03:00
Alex
1a0d42a998 add normal type 2024-12-09 20:08:09 +03:00
Alex Tau
37d1720758 Merge branch 'disk-health' into 'main'
Disk health monitoring (wearout and RAID PV fails)

See merge request lego/lego-monitoring!6
2024-11-09 15:59:23 +00:00
Alex
6fc68c20c5 don't forget to test alerts themselves 2024-11-09 14:06:43 +03:00
Alex
92ce59d6a3 check disk wearout levels 2024-11-09 13:57:32 +03:00
Alex
93f5404bc1 remove useless continue clauses from checks 2024-11-09 12:53:35 +03:00
Alex
071d8afb9f move upsstatus enum to sensors 2024-11-09 12:48:53 +03:00
Alex
47c110f83e check disk health 2024-11-09 12:22:12 +03:00
Alex Tau
df9647708d Merge branch 'docker-registry' into 'main'
Docker Registry monitoring

See merge request lego/lego-monitoring!5
2024-10-27 20:13:43 +00:00