Commit graph

36 commits

Author SHA1 Message Date
iacore
4bbd8fe979
Do not give up when matrix is broken 2024-01-21 18:54:20 +00:00
iacore
56fd74c8f4
handle error 2024-01-10 22:44:17 +00:00
iacore
7a271ea070
wait for 5 minutes after boot to do anything
configurable in core/magicnumber.go
2024-01-10 22:42:16 +00:00
9f252300aa
Embed serialized service status data in Matrix notifications
Signed-off-by: xtex <xtexchooser@duck.com>
2023-10-28 19:34:03 +08:00
Locria Cyber
55d28230cc
Add support for plain text and curl 2023-10-20 08:25:18 +00:00
Locria Cyber
40ab08eb9e
Only show downed services on startup 2023-10-07 13:51:03 +00:00
Locria Cyber
b515907d1a
Send HTML Message
* Don't send message if it's empty
2023-10-07 08:58:43 +00:00
Locria Cyber
e45bf3586f
Coalesce Matrix message into one 2023-10-07 08:50:48 +00:00
Locria Cyber
15e7b57e12
Add logs 2023-10-07 08:34:08 +00:00
Locria Cyber
75adb7e3c0
Don't notify on first try 2023-10-07 08:28:25 +00:00
Locria Cyber
2b7ba22bfa
Add Matrix notification 2023-10-07 08:24:49 +00:00
Locria Cyber
2c81432664
Clean up 2023-10-03 18:25:50 +00:00
Locria Cyber
63c9738b84
Add persistence 2023-10-03 18:23:25 +00:00
Locria Cyber
afff1981bc
Fix deduplicate logic 2023-10-03 15:13:29 +00:00
Locria Cyber
a3dbf56981
Handle SIGTERM
* Log up/down events
2023-10-03 13:49:49 +00:00
Locria Cyber
052f6144d7
Add Database interface 2023-10-03 13:23:57 +00:00
Locria Cyber
21344a585e
rename TestService to CheckService 2023-10-03 12:48:42 +00:00
Locria Cyber
6d64c86577
Add database stub 2023-10-03 12:45:33 +00:00
Locria Cyber
f23f7226f6
go fmt 2023-10-03 12:08:50 +00:00
Locria Cyber
0cb3224558
Use context.Context for timeout 2023-10-03 10:56:35 +00:00
Locria Cyber
61d065c35d
Test services in parallel 2023-10-03 10:40:41 +00:00
8817e433a4
Bundle files with executable 2023-10-01 11:40:38 -04:00
Locria Cyber
1c7776be3b
Load config on page load 2023-10-01 08:49:02 +00:00
Locria Cyber
4ff54e8fdf
Fix global config variable 2023-10-01 08:32:35 +00:00
Locria Cyber
71a60f8003
Clean up config loading code 2023-10-01 08:21:30 +00:00
acc255beda
UNIX socket config 2023-10-01 10:34:12 +07:00
840d8cda6c
Configuration file with TOML 2023-10-01 10:07:29 +07:00
Locria Cyber
f78889736d
Set unix socket to 0660 2023-10-01 00:24:30 +00:00
Locria Cyber
b31b647545
Listen on unix path PORT 2023-10-01 00:17:09 +00:00
a054eb4b82
Update styling 2023-09-30 13:57:49 -04:00
bb32647830
only respond to GET request 2023-09-30 13:05:02 -04:00
Locria Cyber
4adf19a16b
Clean up service scanner module 2023-09-30 16:56:37 +00:00
Locria Cyber
6845a4e573
Update readme
* minor misc changes
2023-09-30 16:15:54 +00:00
fb3e7f9285
Test services and display data 2023-09-30 12:15:20 -04:00
2074e035d4 Update main.go 2023-09-30 15:38:31 +00:00
4a326258bf
initial http server + templating 2023-09-30 11:36:05 -04:00