From 5793d56730f20dde3472f5612821d3951789549e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 10 Oct 2024 21:37:23 +0200 Subject: [PATCH] munin: monitor webservices (#207) Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/207 Co-authored-by: Michael Grote Co-committed-by: Michael Grote --- group_vars/munin.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/group_vars/munin.yml b/group_vars/munin.yml index b07b9156..0648cc1d 100644 --- a/group_vars/munin.yml +++ b/group_vars/munin.yml @@ -7,7 +7,7 @@ ufw_rules: comment: 'ssh' from_ip: 0.0.0.0/0 - rule: allow - to_port: 80 #TODO passt? + to_port: 80 protocol: tcp comment: 'munin' @@ -100,6 +100,14 @@ munin_node_plugins: env.ssh_user munin env.ssh_password {{ lookup('viczem.keepass.keepass', 'routeros-munin-user-password', 'password') }} env.ssh_host 192.168.3.144 + - name: http_response + src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites https://git.mgrote.net http://ldap.mgrote.net:17170 https://docker10.mgrote.net:8443 https://registry.mgrote.net/ui/ http://docker10.mgrote.net:3344 http://munin.mgrote.net http://192.168.5.1 http://192.168.3.1 http://192.168.3.108:8080 http://192.168.3.204 http://docker10.mgrote.net:6483 https://miniflux.mgrote.net/ https://nextcloud.mgrote.net https://audio.mgrote.net/mg http://wiki.mgrote.net + env.max_time 20 + env.short_label true + env.follow_redirect true ### mgrote.apt_manage_packages apt_packages_extra: