diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-11 17:22:23 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-11 17:22:23 +0200 |
| commit | 0da2732ec248cb8373d24b6876cae5a6329a84a7 (patch) | |
| tree | 75655a6a76d32d947998f9581ee7ac996cf14537 /frontends | |
| parent | 764cdee76ccab650b0f6181eb855c83f0962280b (diff) | |
monitor all wg hosts
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/etc/gogios.json.tpl | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl index 68e5afd..0f88868 100644 --- a/frontends/etc/gogios.json.tpl +++ b/frontends/etc/gogios.json.tpl @@ -12,7 +12,18 @@ "Check Ping<%= $proto %> <%= $host %>.buetow.org": { "Plugin": "<%= $plugin_dir %>/check_ping", "Args": ["-H", "<%= $host %>.buetow.org", "-<%= $proto %>", "-w", "100,10%", "-c", "200,15%"], - "RandomSpread": 5, + "RandomSpread": 10, + "Retries": 3, + "RetryInterval": 3 + }, + <% } -%> + <% } -%> + <% for my $host (qw(blowfish fishfinger f0 f1 f2 r0 r1 r2)) { -%> + <% for my $proto (4) { -%> + "Check Ping<%= $proto %> <%= $host %>.wg0.wan.buetow.org": { + "Plugin": "<%= $plugin_dir %>/check_ping", + "Args": ["-H", "<%= $host %>.wg0.wan.buetow.org", "-<%= $proto %>", "-w", "100,10%", "-c", "200,15%"], + "RandomSpread": 10, "Retries": 3, "RetryInterval": 3 }, @@ -22,7 +33,7 @@ "Check DTail <%= $host %>.buetow.org": { "Plugin": "/usr/local/bin/dtailhealth", "RunInterval": 3600, - "RandomSpread": 5, + "RandomSpread": 10, "Args": ["--server", "<%= $host %>.buetow.org:2222"], "DependsOn": ["Check Ping4 <%= $host %>.buetow.org", "Check Ping6 <%= $host %>.buetow.org"] }, @@ -31,7 +42,7 @@ <% for my $proto (4, 6) { -%> "Check Ping<%= $proto %> <%= $host %>.buetow.org": { "Plugin": "<%= $plugin_dir %>/check_ping", - "RandomSpread": 5, + "RandomSpread": 10, "Args": ["-H", "<%= $host %>.buetow.org", "-<%= $proto %>", "-w", "100,10%", "-c", "200,15%"], "Retries": 3, "RetryInterval": 3 @@ -39,7 +50,7 @@ <% } -%> "Check TLS Certificate <%= $host %>.buetow.org": { "Plugin": "<%= $plugin_dir %>/check_http", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 3600, "Args": ["--sni", "-H", "<%= $host %>.buetow.org", "-C", "20" ], "DependsOn": ["Check Ping4 <%= $host %>.buetow.org", "Check Ping6 <%= $host %>.buetow.org"] @@ -52,7 +63,7 @@ <% my $depends_on = $prefix eq 'standby.' ? 'standby.buetow.org' : 'master.buetow.org'; -%> "Check TLS Certificate <%= $prefix . $host %>": { "Plugin": "<%= $plugin_dir %>/check_http", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 3600, "Args": ["--sni", "-H", "<%= $prefix . $host %>", "-C", "20" ], "DependsOn": ["Check Ping4 <%= $depends_on %>", "Check Ping6 <%= $depends_on %>"] @@ -60,7 +71,7 @@ <% for my $proto (4, 6) { -%> "Check HTTP IPv<%= $proto %> <%= $prefix . $host %>": { "Plugin": "<%= $plugin_dir %>/check_http", - "RandomSpread": 5, + "RandomSpread": 10, "Args": ["<%= $prefix . $host %>", "-<%= $proto %>"], "DependsOn": ["Check Ping<%= $proto %> <%= $depends_on %>"] }, @@ -71,19 +82,19 @@ <% for my $proto (4, 6) { -%> "Check Dig <%= $host %>.buetow.org IPv<%= $proto %>": { "Plugin": "<%= $plugin_dir %>/check_dig", - "RandomSpread": 5, + "RandomSpread": 10, "Args": ["-H", "<%= $host %>.buetow.org", "-l", "buetow.org", "-<%= $proto %>"], "DependsOn": ["Check Ping<%= $proto %> <%= $host %>.buetow.org"] }, "Check SMTP <%= $host %>.buetow.org IPv<%= $proto %>": { "Plugin": "<%= $plugin_dir %>/check_smtp", - "RandomSpread": 5, + "RandomSpread": 10, "Args": ["-H", "<%= $host %>.buetow.org", "-<%= $proto %>"], "DependsOn": ["Check Ping<%= $proto %> <%= $host %>.buetow.org"] }, "Check Gemini TCP <%= $host %>.buetow.org IPv<%= $proto %>": { "Plugin": "<%= $plugin_dir %>/check_tcp", - "RandomSpread": 5, + "RandomSpread": 10, "Args": ["-H", "<%= $host %>.buetow.org", "-p", "1965", "-<%= $proto %>"], "DependsOn": ["Check Ping<%= $proto %> <%= $host %>.buetow.org"] }, @@ -91,31 +102,31 @@ <% } -%> "Check Users <%= $hostname %>": { "Plugin": "<%= $plugin_dir %>/check_users", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 600, "Args": ["-w", "2", "-c", "3"] }, "Check SWAP <%= $hostname %>": { "Plugin": "<%= $plugin_dir %>/check_swap", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 300, "Args": ["-w", "95%", "-c", "90%"] }, "Check Procs <%= $hostname %>": { "Plugin": "<%= $plugin_dir %>/check_procs", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 300, "Args": ["-w", "80", "-c", "100"] }, "Check Disk <%= $hostname %>": { "Plugin": "<%= $plugin_dir %>/check_disk", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 300, "Args": ["-w", "30%", "-c", "10%"] }, "Check Load <%= $hostname %>": { "Plugin": "<%= $plugin_dir %>/check_load", - "RandomSpread": 5, + "RandomSpread": 10, "RunInterval": 300, "Args": ["-w", "2,1,1", "-c", "4,3,3"] } |
