From: Tom Hughes Date: Thu, 11 Sep 2014 11:26:44 +0000 (+0100) Subject: If pingdom support is enabled treat servers with no ID as down X-Git-Url: https://git.openstreetmap.org/dns.git/commitdiff_plain/5eb9e2471372a709aaee46774653328f2985ca5c?ds=sidebyside If pingdom support is enabled treat servers with no ID as down --- diff --git a/bin/mkgeo b/bin/mkgeo index 7b70c22..5a0b07a 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -94,6 +94,10 @@ if ($ENV{PINGDOM_USERNAME} && $ENV{PINGDOM_PASSWORD}) $server->{status} = $cache->{$server->{pingdom}} || "down"; } } + else + { + $server->{status} = "down"; + } } YAML::DumpFile("pingdom.yml", $cache);