Compare commits
2 Commits
c26e9ed80f
...
c4acee5d98
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c4acee5d98 | ||
![]() |
d0b24f5ad7 |
28
README.md
28
README.md
@ -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.
|
Pretty minimal... no features at all.
|
||||||
|
|
||||||
It needs:
|
## Requirements:
|
||||||
|
|
||||||
- BSD make (written and tested on OpenBSD)
|
- BSD make (written and tested on OpenBSD)
|
||||||
- discount (for parsing markdown file)
|
- discount (for parsing markdown file)
|
||||||
@ -10,7 +10,7 @@ It needs:
|
|||||||
- ksh (for shell stuff)
|
- ksh (for shell stuff)
|
||||||
- rsync (to copy static files)
|
- rsync (to copy static files)
|
||||||
|
|
||||||
Basic operation:
|
## Basic operation:
|
||||||
|
|
||||||
src/header.th gets prepended to every file.
|
src/header.th gets prepended to every file.
|
||||||
src/footer.th gets appended 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.
|
.pa files contain asciidoctor source.
|
||||||
.pm files contain markdown source.
|
.pm files contain markdown source.
|
||||||
.ph files contain plain html.
|
.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.
|
.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 debug` to create the website with debug output.
|
||||||
Execute `make` to hide the 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`.
|
The generated website will be in the directory `www`.
|
||||||
|
|
||||||
Execute `make clean` to delete www. Or just `rm -rf www`, if you want
|
Execute `make clean` to delete www.
|
||||||
to start over.
|
|
||||||
|
## 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).
|
||||||
|
|
||||||
|
@ -1,32 +1,8 @@
|
|||||||
<h1>Internet Monitor</h1>
|
<h1>Smoke Ping</h1>
|
||||||
|
|
||||||
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’m running smokeping.
|
|
||||||
Smokeping sends 20 ping probes every 300 seconds and monitors how many pings
|
|
||||||
are answered and what’s how fast these answeres arrive.
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>The shadow lines (up and down) are showing the spectrum of the response times (latency).</li>
|
<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 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>
|
<li>The color of the dot shows the package loss (how many of the 20 requests got lost).</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<iframe width="100%" height="150%" frameborder=0 src="/smokeping/?target=Network"></iframe>
|
||||||
|
|
||||||
<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>.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user