diff options
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": { |
