diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-08 14:24:36 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-08 14:24:36 +0200 |
| commit | e4638ec665c28ab077831ebd7a861fc1b4b716f8 (patch) | |
| tree | 2f5f7ba17d596ee3d627185582e4935815a60f4f /frontends/etc | |
| parent | e648341f45628a5fef4cce29388dfd6cb48e1f29 (diff) | |
doesnt belong here
Diffstat (limited to 'frontends/etc')
| -rw-r--r-- | frontends/etc/gogios.json.tpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl index 658cf5e..bfe4c10 100644 --- a/frontends/etc/gogios.json.tpl +++ b/frontends/etc/gogios.json.tpl @@ -7,6 +7,15 @@ "MinNotifyIntervalS": 3600, "StateDir": "/var/run/gogios", "HTMLStatusFile": "/var/www/htdocs/buetow.org/self/gogios/index.html", + <% if ($hostname eq 'fishfinger') { -%> + "PeerURL": "https://blowfish.buetow.org/gogios/index.json", + "PeerPrimaryName": "fishfinger.buetow.org", + "PeerSecondaryName": "blowfish.buetow.org", + <% } elsif ($hostname eq 'blowfish') { -%> + "PeerURL": "https://fishfinger.buetow.org/gogios/index.json", + "PeerPrimaryName": "fishfinger.buetow.org", + "PeerSecondaryName": "blowfish.buetow.org", + <% } -%> "PrometheusHosts": ["r0.wg0:30090", "r1.wg0:30090", "r2.wg0:30090"], "PrometheusOnlyIfNotExists": "/tmp/f3s_taken_down", "Checks": { |
