diff options
Diffstat (limited to 'frontends/etc')
| -rw-r--r-- | frontends/etc/gogios.json.tpl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl new file mode 100644 index 0000000..4c35bf6 --- /dev/null +++ b/frontends/etc/gogios.json.tpl @@ -0,0 +1,24 @@ +{ + "EmailTo": "paul", + "EmailFrom": "gogios@mx.buetow.org", + "CheckTimeoutS": 10, + "CheckConcurrency": 2, + "Checks": { + <% for my $host (@$acme_hosts) { -%> + <% for my $prefix ('', 'www.') { -%> + "<%= $prefix . $host %> HTTP IPv4": { + "Plugin": "/usr/local/libexec/nagios/check_http", + "Args": ["<%= $prefix . $host %>", "-4"] + }, + "<%= $prefix . $host %> HTTP IPv6": { + "Plugin": "/usr/local/libexec/nagios/check_http", + "Args": ["<%= $prefix . $host %>", "-6"] + }, + <% } -%> + <% } -%> + "hasn foo.zone HTTP IPv6": { + "Plugin": "/usr/local/libexec/nagios/check_http", + "Args": ["foo.zone", "-6"] + } + } +} |
