From 5eb9e2471372a709aaee46774653328f2985ca5c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 11 Sep 2014 12:26:44 +0100 Subject: [PATCH] If pingdom support is enabled treat servers with no ID as down --- bin/mkgeo | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.43.2