[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/23] Alert files
[Thread Prev] | [Thread Next]
- Subject: [PATCH 15/23] Alert files
- From: arf20 <arf20@xxxxxxxxx>
- Reply-to: development@xxxxxxxxx
- Date: Tue, 2 Dec 2025 23:11:23 +0100
- To: development@xxxxxxxxx
- Cc: arf20 <aruizfernandez05@xxxxxxxxx>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: arf20 <aruizfernandez05@xxxxxxxxx>
---
README.md | 4 ++--
alert.c | 0
alert.h | 0
monitor.h | 4 ++--
4 files changed, 4 insertions(+), 4 deletions(-)
create mode 100644 alert.c
create mode 100644 alert.h
diff --git a/README.md b/README.md
index 456aedf..f61a0ea 100644
--- a/README.md
+++ b/README.md
@@ -13,8 +13,8 @@ make
## Features (TODO)
[X] Current service status table
- [ ] Outage events table
- [ ] Uptime counter (total, month)
+ [X] Incident event table
+ [X] Uptime counter (total, month)
[ ] Alerts
[ ] Centralised config
diff --git a/alert.c b/alert.c
new file mode 100644
index 0000000..e69de29
diff --git a/alert.h b/alert.h
new file mode 100644
index 0000000..e69de29
diff --git a/monitor.h b/monitor.h
index 35844cc..f39441c 100644
--- a/monitor.h
+++ b/monitor.h
@@ -7,7 +7,7 @@ typedef enum {
TYPE_REACH,
TYPE_DNS,
TYPE_WEB
-} type_t;
+} mon_type_t;
typedef enum {
STATUS_DOWN,
@@ -20,7 +20,7 @@ typedef struct {
} event_t;
typedef struct {
- type_t type;
+ mon_type_t type;
char *name;
char *target;
--
2.47.3
| [arfnet2-status PATCH 00/23] First release | arf20 <arf20@xxxxxxxxx> |