@@ -4,24 +4,32 @@ Just scp and run
44
55fogping is the SQLite build of the smoke-graph probe: same oscilloscope UI, same
66zero-config target lists, but rounds land in an embedded SQLite file with
7- in-process rollup and retention. Its sibling [ fogping ] ( https://github.com/githubflyideas/fogping )
7+ in-process rollup and retention. Its sibling [ pingping ] ( https://github.com/githubflyideas/pingping )
88keeps the plain-JSONL storage.
99
1010``` bash
11- git clone https://github.com/githubflyideas/fogping.git
12- cd fogping
13- CGO_ENABLED=1 go build -trimpath -ldflags " -s -w" -o fogping .
11+ mkdir -p /home/fogping && cd /home/fogping
12+
13+ wget https://github.com/githubflyideas/fogping/releases/download/v1.0.0/fogping-v1.0.0-linux-amd64.tar.gz
14+ tar -zxvf fogping-v1.0.0-linux-amd64.tar.gz
1415./fogping user=admin passwd=admin
1516```
17+
18+ Or build it yourself (cgo required):
19+
20+ ``` bash
21+ git clone https://github.com/githubflyideas/fogping.git && cd fogping
22+ CGO_ENABLED=1 go build -trimpath -ldflags " -s -w" -o fogping .
23+ ```
1624Open http://localhost:8518 and watch your first puff of network smoke
1725
1826Storage is SQLite (` data/fogping.db ` ); history is kept for 40 days by default
1927(` --days=300 ` for longer). Rollup and pruning run in-process — there is nothing
2028to cron.
2129
2230Build note: SQLite goes through ` mattn/go-sqlite3 ` , so cgo is required and
23- linux/amd64 is the supported target. ` .goreleaser.yaml ` builds a statically
24- linked tarball if you ever push a ` v* ` tag .
31+ linux/amd64 is the only released target. The published tarball is statically
32+ linked — it does not depend on the build host's glibc .
2533
2634-----------------------------------------------------------
2735Add target host
0 commit comments