You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Was Geht** is a small Go application that pings a list of hosts at regular intervals, tracks their availability (UP or DOWN), and records the latency in a Round Robin Database (RRD). A lightweight web interface serves host status information and interactive graphs of the recorded latency.
7
+
**Was Geht** is a small Go application that monitors a list of hosts at regular intervals, tracks their availability and metrics, and records the data in Round Robin Databases (RRD). A lightweight web interface serves host status information and interactive graphs of the recorded metrics.
6
8
7
9
## Features
8
10
11
+
-**Extensible Check System**: Modular check types (ping, with more planned) via a Registry/Factory pattern.
9
12
-**Ping Monitoring**: Sends ICMP Echo Requests to check host availability.
10
13
-**Latency Logging**: Uses RRD to store latency data over time.
11
14
-**Graphs Generation**: Generates historical latency graphs (15 minutes, 4 hours, 8 hours, etc.) for each host.
@@ -27,7 +30,7 @@ nix develop
27
30
28
31
You will need experimental features `flakes` and `nix-command`.
29
32
30
-
This loads the environment specified in `shell.nix`:
33
+
This loads the environment specified in `flake.nix`:
31
34
32
35
- Go (for building),
33
36
- gnumake (for Makefile),
@@ -41,7 +44,7 @@ Once inside the shell, you can run the usual make commands
41
44
42
45
Ensure the following are installed:
43
46
44
-
-**Go** (1.23+ recommended)
47
+
-**Go** (1.25+ recommended)
45
48
-**air** (for live reload during development, optional)
46
49
-**rrdtool** and **unixtools ping** must be installed and available on the system path.
47
50
- Basic Unix tools for building and running (`make`, etc.).
@@ -126,6 +129,7 @@ Each check type gets its own RRD file (e.g., `ping.rrd`), making it straightforw
126
129
127
130
## Makefile Targets
128
131
132
+
-**test**: Runs staticcheck and `go test` with race detection.
129
133
-**build**: Compiles the Go code and produces `wasgehtd`.
130
134
-**deps**: Verifies module dependencies and updates `go.mod` and `go.sum`.
131
135
-**clean**: Removes the `wasgehtd` binary and any generated graphs.
0 commit comments