summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-03-22 19:10:08 +0200
committerPaul Buetow <paul@buetow.org>2024-03-22 19:10:08 +0200
commit3ac3afb6f81bd6543f121f00c2add6b4b9eb101e (patch)
tree16658040c8b14e7300287a2b80f71dfc648c4e08 /frontends
parent9420ee0c4c69aee2e90673322b09d0c71c0b4e5b (diff)
fix monitoring alerts
Diffstat (limited to 'frontends')
-rw-r--r--frontends/etc/gogios.json.tpl2
-rw-r--r--frontends/var/nsd/zones/master/buetow.org.zone.tpl3
-rw-r--r--frontends/var/nsd/zones/master/dtail.dev.zone.tpl2
3 files changed, 6 insertions, 1 deletions
diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl
index 5eda2f8..1e2b961 100644
--- a/frontends/etc/gogios.json.tpl
+++ b/frontends/etc/gogios.json.tpl
@@ -26,7 +26,7 @@
"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 %>"]
+ "DependsOn": ["Check Ping4 <%= $host %>.buetow.org"]
},
<% } -%>
<% } -%>
diff --git a/frontends/var/nsd/zones/master/buetow.org.zone.tpl b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
index 84e31f3..784fcac 100644
--- a/frontends/var/nsd/zones/master/buetow.org.zone.tpl
+++ b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
@@ -13,6 +13,8 @@ $TTL 4h
IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
www IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
www IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
+mirror IN A <%= $ips->{current_standby}{ipv4} %> ; Enable failover
+mirror IN AAAA <%= $ips->{current_standby}{ipv6} %> ; Enable failover
IN MX 10 fishfinger.buetow.org.
IN MX 20 blowfish.buetow.org.
@@ -75,6 +77,7 @@ zapad.sofia 14400 IN CNAME 79-100-3-54.ip.btc-net.bg.
www2 14400 IN CNAME snonux.codeberg.page.
znc 1800 IN CNAME fishfinger.buetow.org.
www.znc 1800 IN CNAME fishfinger.buetow.org.
+mirror.znc 1800 IN CNAME fishfinger.buetow.org.
bnc 1800 IN CNAME fishfinger.buetow.org.
www.bnc 1800 IN CNAME fishfinger.buetow.org.
diff --git a/frontends/var/nsd/zones/master/dtail.dev.zone.tpl b/frontends/var/nsd/zones/master/dtail.dev.zone.tpl
index dc2c61c..86121cf 100644
--- a/frontends/var/nsd/zones/master/dtail.dev.zone.tpl
+++ b/frontends/var/nsd/zones/master/dtail.dev.zone.tpl
@@ -16,4 +16,6 @@ $TTL 4h
300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
www 300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
www 300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
+www 300 IN A <%= $ips->{current_standby}{ipv4} %> ; Enable failover
+www 300 IN AAAA <%= $ips->{current_standby}{ipv6} %> ; Enable failover
github 86400 IN CNAME mimecast.github.io.