diff options
| author | arf20 <aruizfernandez05@gmail.com> | 2025-11-10 00:28:43 +0100 |
|---|---|---|
| committer | arf20 <aruizfernandez05@gmail.com> | 2025-11-10 00:28:43 +0100 |
| commit | 2ad586295dcd5dcef3d29af32998d55bb5c09843 (patch) | |
| tree | 8b4128ad080bfa063f36ffb2ccc28642a87f19fc /main.c | |
| parent | c766bf7134b8179401b7e05f00d5a3693e2b56f4 (diff) | |
| download | arfnet2-status-2ad586295dcd5dcef3d29af32998d55bb5c09843.tar.gz arfnet2-status-2ad586295dcd5dcef3d29af32998d55bb5c09843.zip | |
WIP api alert
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -15,6 +15,7 @@ #include "monitor.h" #include "config.h" #include "check.h" +#include "alert.h" #define CFG_FILE "monitor.cfg" #define TMPL_FILE "index.htm.tmpl" @@ -95,7 +96,10 @@ int main() { if (check_init() < 0) return 1; - if (monitor_init(CFG_FILE, LOG_FILE) < 0) + if (monitor_init() < 0) + return 1; + + if (alert_init() < 0) return 1; /* start server */ |
