Commit graph

74 commits

Author SHA1 Message Date
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
Alex
e5879a7394 clarify it's updated remotely, not locally yet 2024-10-27 22:30:18 +03:00
Alex
13723a6bb4 add docker registry monitoring 2024-10-27 22:29:32 +03:00
Alex
618ca3c9aa arch-audit: handle any error 2024-10-27 16:33:50 +03:00
Alex
97c553aa41 remove unused import 2024-10-27 15:11:47 +03:00
Alex
f199292aba creds file -> config file 2024-10-27 14:47:02 +03:00
Alex
c653055134 explicit organize imports 2024-10-27 13:31:52 +03:00
Alex Tau
5bed36c908 add lego disclaimer, just in case 2024-10-20 13:31:53 +00:00
Alex Tau
d2e1c2cb6e Add LICENSE 2024-10-14 10:01:09 +00:00
Alex Tau
93d87e4163 Merge branch 'upsmon' into 'main'
move checks to upsmon, where possible

See merge request lego/lego-monitoring!4
2024-09-01 12:28:36 +00:00
Alex
566b5620e8 add comments for event types 2024-09-01 15:04:35 +03:00
Alex
09a9cfe310 move checks to upsmon, where possible 2024-09-01 14:26:15 +03:00
Alex
9518527beb wait for 5 sec between restarts 2024-09-01 13:55:07 +03:00
Alex Tau
1e1ebbb809 Merge branch 'ups-monitoring' into 'main'
UPS monitoring

See merge request lego/lego-monitoring!3
2024-08-17 11:25:48 +00:00
Alex
7fe0161989 fix bracket 2024-08-17 14:25:02 +03:00
Alex
df21b8dfdb add more ups alert events 2024-08-17 13:41:39 +03:00
Alex
983caffc10 add missing ups statuses 2024-08-17 13:33:22 +03:00
saqriphnix
17e5d1be0c alerting if upsc is not installed 2024-08-17 12:32:25 +03:00
saqriphnix
66bc90da5c fix status is not actually a single word 2024-08-17 11:58:13 +03:00
saqriphnix
3a02adde56 UPS check and runtime monitoring 2024-08-17 00:00:16 +03:00
saqriphnix
fd2624040c parse UPS data 2024-08-16 23:08:28 +03:00
Alex Tau
aac320a0c8 Merge branch 'arch-audit' into 'main'
vuln alerts from arch-audit

See merge request lego/lego-monitoring!2
2024-08-13 12:56:32 +00:00
Alex
b1d8f16d03 add arch-audit to prereqs 2024-08-11 13:26:00 +03:00
Alex
de0ce7d3b0 vuln alerts from arch-audit 2024-08-11 13:20:55 +03:00
Alex Tau
56ebed516e Merge branch 'ram-cpu-alerts' into 'main'
ram and cpu monitoring

See merge request lego/lego-monitoring!1
2024-07-27 16:46:39 +00:00
saqriphnix
791176aae1 replace lables 2024-07-27 19:43:50 +03:00
saqriphnix
630f3d0f91 unused imports removal 2024-07-27 19:20:40 +03:00
saqriphnix
4dbd81b352 RAM percentage recording. removed unnecessary sensors 2024-07-27 19:16:40 +03:00
saqriphnix
7455a7b7d6 skip duplacate sensors 2024-07-27 19:09:33 +03:00