aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--alert.c0
-rw-r--r--alert.h0
-rw-r--r--monitor.h4
4 files changed, 4 insertions, 4 deletions
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
--- /dev/null
+++ b/alert.c
diff --git a/alert.h b/alert.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/alert.h
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;