From 0ae9e128fd57927bc7375e850293c6bdd15e1d4e Mon Sep 17 00:00:00 2001 From: mms Date: Fri, 10 Nov 2023 22:14:51 +0100 Subject: feat: more stats --- content/site/info.md | 24 ++++++++++++++++++++---- layouts/shortcodes/httpd_stat.html | 8 -------- layouts/shortcodes/pf_stat.html | 28 ---------------------------- layouts/shortcodes/site_stat.html | 9 +++++++++ 4 files changed, 29 insertions(+), 40 deletions(-) delete mode 100644 layouts/shortcodes/httpd_stat.html delete mode 100644 layouts/shortcodes/pf_stat.html create mode 100644 layouts/shortcodes/site_stat.html diff --git a/content/site/info.md b/content/site/info.md index ae23b6e..0ef215e 100644 --- a/content/site/info.md +++ b/content/site/info.md @@ -30,12 +30,28 @@ All content on this site is licensed under [Creative Commons Attribution 4.0 Int Source code is open and available on my [VCS hub](https://vcs.sapka.me/michal-sapka-me/log.html) (I don't use proprietary forges, like Github). +## Site stats -## Stats (for nerds) +{{}} + +## Web server stats (for nerds) + +Graphs generated using [rrdtool (1)](https://oss.oetiker.ch/rrdtool/) + +{{}} +{{}} +{{}} +{{}} + +## Firewall stats (also for nerds) Firewall graphs generated using [pfstat (8)](https://www.benzedrine.ch/pfstat.html). -All other graphs generated using [rrdtool (1)](https://oss.oetiker.ch/rrdtool/) -{{}} -{{}} +{{}} +{{}} +{{}} +{{}} + +Thanks for being here! + diff --git a/layouts/shortcodes/httpd_stat.html b/layouts/shortcodes/httpd_stat.html deleted file mode 100644 index 7350f38..0000000 --- a/layouts/shortcodes/httpd_stat.html +++ /dev/null @@ -1,8 +0,0 @@ -
- - - -
Httpd responses
-
- - diff --git a/layouts/shortcodes/pf_stat.html b/layouts/shortcodes/pf_stat.html deleted file mode 100644 index dbcdb0f..0000000 --- a/layouts/shortcodes/pf_stat.html +++ /dev/null @@ -1,28 +0,0 @@ -
- - - -
Firewall general stats
-
- -
- - - -
Firewall packets stats
-
- -
- - - -
Firewall states stats
-
- -
- - - -
Firewall error stats
-
- diff --git a/layouts/shortcodes/site_stat.html b/layouts/shortcodes/site_stat.html new file mode 100644 index 0000000..35f4f3f --- /dev/null +++ b/layouts/shortcodes/site_stat.html @@ -0,0 +1,9 @@ +{{- $graph := .Get 0 }} +{{- $alt := .Get 1 }} + +
+
{{$alt}}
+ + {{$alt}} + +
-- cgit v1.2.3