Compare commits

...

2 Commits

Author SHA1 Message Date
c0dev0id
c4acee5d98 Rework smokeping page 2023-10-24 09:02:37 +02:00
c0dev0id
d0b24f5ad7 Documentation Update 2023-10-24 08:13:16 +02:00
2 changed files with 26 additions and 40 deletions

View File

@ -1,8 +1,8 @@
This is a BSD Makefile base webpage generator.
# This is a BSD Makefile base webpage generator.
Pretty minimal... no features at all.
It needs:
## Requirements:
- BSD make (written and tested on OpenBSD)
- discount (for parsing markdown file)
@ -10,7 +10,7 @@ It needs:
- ksh (for shell stuff)
- rsync (to copy static files)
Basic operation:
## Basic operation:
src/header.th gets prepended to every file.
src/footer.th gets appended to every file.
@ -18,16 +18,26 @@ src/footer.th gets appended to every file.
.pa files contain asciidoctor source.
.pm files contain markdown source.
.ph files contain plain html.
.ps files contain ksh shell script (the scripts must output html to stdout).
.ps files contain ksh shell script (the scripts must output html code to stdout).
.pt files contain plain text.
Everything in `.control/static-files` is copied as is.
Execute `make debug` to create the website with debug output.
Execute `make` to hide the debug output.
Execute `make install` to copy the page to the remote in `.control/remote-ssh-target`.
Execute `make install` to copy the page to the remote host.
The generated website will be in the directory `www`.
Execute `make clean` to delete www. Or just `rm -rf www`, if you want
to start over.
Execute `make clean` to delete www.
## Configuration
Configuration happens in the `.control`. Toggles are files and their
content is the value.
Configure the remote host for `make install`.
```
echo "user@my-server.de:/var/www" > .control/remote-ssh-host
```
Everything in `.control/static-files` is copied as is (supports globbing).

View File

@ -1,32 +1,8 @@
<h1>Internet Monitor</h1>
<h1>Smoke Ping</h1>
<ul>
<li>The shadow lines (up and down) are showing the spectrum of the response times (latency).</li>
<li>The dot position shows the average response time.</li>
<li>The color of the dot shows the package loss (how many of the 20 requests got lost).</li>
</ul>
<iframe width="100%" height="150%" frameborder=0 src="/smokeping/?target=Network"></iframe>
Due to internet connection problems, I started to monitor my connection
from inside my network to vodafone.de. It all started with terrible
latency spikes and package loss every 6-12h. Mostly starting at 23:30
and only recovering after a router/modem restart (Fritz Box Cable 6690).
<h2>Smokeping</h2>
To monitor my connection to the outside world, I&rsquo;m running smokeping.
Smokeping sends 20 ping probes every 300 seconds and monitors how many pings
are answered and what&rsquo;s how fast these answeres arrive.
<ul>
<li>The shadow lines (up and down) are showing the spectrum of the response times (latency).</li>
<li>The dot position shows the average response time.</li>
<li>The color of the dot shows the package loss (how many of the 20 requests got lost).</li>
</ul>
<h2 id="last-3-hours">Last 3 Hours</h2>
<img src="/smokeping/cache/Network/Vodafone_last_10800.png" alt="Last 3 Hours">
<h2 id="last-30-hours">Last 30 Hours</h2>
<img src="/smokeping/cache/Network/Vodafone_last_108000.png" alt="Last 30 Hours">
<h2 id="last-10-days">Last 10 Days</h2>
<img src="/smokeping/cache/Network/Vodafone_last_864000.png" alt="Last 10 Days">
<h2 id="last-30-days">Last 30 Days</h2>
<img src="/smokeping/cache/Network/Vodafone_last_31104000.png" alt="Last 30 Days">
The interactive Smokeping UI is <a href="/smokeping/?target=Network.Vodafone">here</a>.