diff options
| author | Paul Buetow <paul@buetow.org> | 2024-03-22 19:00:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-03-22 19:00:08 +0200 |
| commit | 9fb4207ae2470d52ed49bded045884d458aba4de (patch) | |
| tree | 85d59bc9504c4fa0fc4dfd0dc0e105e6d0e26fdf /frontends | |
| parent | 114270755f5984547be2ee0a03beb045edf9a90b (diff) | |
check host TLS certs
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/etc/gogios.json.tpl | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl index 8c51441..c536967 100644 --- a/frontends/etc/gogios.json.tpl +++ b/frontends/etc/gogios.json.tpl @@ -16,18 +16,19 @@ }, <% } -%> <% for my $host (qw(fishfinger blowfish)) { %> - "Check Ping4 <%= $host %>.buetow.org": { + <% for my $proto (4, 6) { -%> + "Check Ping<%= $proto %> <%= $host %>.buetow.org": { "Plugin": "<%= $plugin_dir %>/check_ping", - "Args": ["-H", "<%= $host %>.buetow.org", "-4", "-w", "100,10%", "-c", "200,15%"], + "Args": ["-H", "<%= $host %>.buetow.org", "-<%= $proto %>", "-w", "100,10%", "-c", "200,15%"], "Retries": 3, "RetryInterval": 3 }, - "Check Ping6 <%= $host %>.buetow.org": { - "Plugin": "<%= $plugin_dir %>/check_ping", - "Args": ["-H", "<%= $host %>.buetow.org", "-6", "-w", "100,10%", "-c", "200,15%"], - "Retries": 3, - "RetryInterval": 3 + "Check TLS Certificate <%= $host %>.buetow.org": { + "Plugin": "<%= $plugin_dir %>/check_http", + "Args": ["--sni", "-H", "<%= $host %>.buetow.org", "-C", "20" ], + "DependsOn": ["Check Ping4 <%= $host %>.buetow.org %>"] }, + <% } -%> <% } -%> <% for my $host (@$acme_hosts) { -%> <% for my $prefix ('', 'mirror.', 'www.') { -%> |
