51 Commits

Author SHA1 Message Date
f735fe50ba int instead of math.floor for the CPU tempature 2025-06-19 15:25:15 -04:00
6a50df8f89 Clean up the main file a little 2025-06-18 16:06:56 -04:00
a0091fd1e2 Replace the sensors subprocess with psutil for the CPU tempature 2025-06-18 15:41:05 -04:00
ef56b6075c Replace spaces in the topic with underscores (if present) 2025-06-17 20:06:04 -04:00
62d41c54de Tweak Prerequisites 2025-06-17 19:54:06 -04:00
02f7ef6de5 mem.py 2025-06-17 19:53:17 -04:00
8ae4c81f06 Readme change for only CPU temps are monitored 2025-06-16 18:59:39 -04:00
8b2c8ef303 Update the updating docs 2025-06-16 12:51:29 -04:00
01aecfbe89 Updating --force 2025-06-16 12:49:25 -04:00
4dc42364b3 Updating --rebase 2025-06-16 12:48:54 -04:00
fbae24f3d7 Readme --ff-only 2025-06-16 12:46:38 -04:00
72da9c6152 Readme updating 2025-06-16 12:43:34 -04:00
e77a2796dd Readme links 2025-06-16 12:06:46 -04:00
b1b9ee1de0 address.py 2025-06-13 19:24:48 -04:00
cb6da23480 More documentation 2025-06-12 17:47:31 -04:00
4e168c85a5 Change the defaults for timeout_check_critical (10 minutes) and timeout_check_warn (1 hour) 2025-06-12 17:25:59 -04:00
3dbc105ae3 Redisgned the way CPU tempature is detected and the start up notification 2025-06-12 01:44:21 -04:00
97e3348bd4 package.py -> command.py
a
2025-06-11 16:25:27 -04:00
478e40c4e3 database -> datacenter 2025-06-11 16:14:06 -04:00
0b4f9693cb The CPU tempature notifications are less eager and a trend message is sent within 5 minutes if a rise in high temps are detected 2025-06-11 16:13:48 -04:00
7a5e24dcd6 Cap monitor 2025-06-10 17:00:50 -04:00
dd84f772b9 Fix the url argument appending an extra forward slash if its already present 2025-06-10 16:59:06 -04:00
1d8c74a9d2 Fit address check into a single regexp 2025-06-10 15:57:12 -04:00
4198f4d723 h3 2025-06-09 18:00:29 -04:00
bef3c82d53 h2 2025-06-09 17:48:53 -04:00
69964e46e4 Decrease image size 2025-06-09 17:48:15 -04:00
eb449e035c README init 2025-06-09 17:44:49 -04:00
7f13f1a3ea Verify the address param 2025-06-09 17:25:20 -04:00
7e59d19b46 Ntfy headers 2025-06-08 19:42:37 -04:00
7dd33aca8c --disable-ntfy-logs and --topic TOPIC 2025-06-07 16:58:41 -04:00
5735cd9641 print_t.py module 2025-06-07 16:20:14 -04:00
5df7de92ea Ignore .ropeproject and __pycache__ 2025-06-07 16:19:10 -04:00
248c893dff Command description 2025-06-07 16:04:02 -04:00
9eadf5bb28 Start up message 2025-06-07 15:29:17 -04:00
32109b7acd --disable-startup-ping and a cleaner main.py start process 2025-06-07 15:10:50 -04:00
b828a84310 Use local machine time instead of unix for messages and have better timestamp formatting 2025-06-07 14:44:20 -04:00
ebaede4d41 Remove CPU critical tempature warning 2025-06-07 13:35:50 -04:00
23d0e30ef3 Implament sys.argv with argparse 2025-06-07 00:05:42 -04:00
e2dcd795ab --cpu-temp-disabled flag 2025-06-06 15:32:04 -04:00
29825d6b3c Utilize cli.py module for handling both arguments and argv 2025-06-06 14:42:48 -04:00
00c93976f5 Include python3-requests package 2025-06-06 14:20:33 -04:00
cacc1b827f Use requests module instead of curl and use python3 main.py server.com instead of --server=server.com 2025-06-06 14:20:23 -04:00
32f60194d0 Everything is split into modules and put into classes where inheritance is needed 2025-06-05 18:37:02 -04:00
af2fe80ce5 Split everything into modules 2025-06-05 15:23:34 -04:00
6a7b07ebeb __name__ == "__main__" 2025-06-04 21:57:46 -04:00
06d1ea4fb6 More configuration and packages_installed function 2025-06-04 19:24:43 -04:00
69c885462b Copy the src and add the ENTRYPOINT 2025-06-04 15:29:52 -04:00
171bbe044d dockerfile for debugging 2025-06-04 14:45:17 -04:00
80ab1b4771 init main.py 2025-06-04 14:42:02 -04:00
7949f1c659 Licensing 2025-06-04 14:18:43 -04:00