Rush has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/287993

Change subject: change icinga host for toollabs from ip to hostname based
......................................................................

change icinga host for toollabs from ip to hostname based

Change-Id: Ife19e9b12a5ad7e1bdb6031f3292dc160b16bb5e
re: checker.tools.wmflabs.org
---
M modules/toollabs/manifests/monitoring/icinga.pp
1 file changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/287993/1

diff --git a/modules/toollabs/manifests/monitoring/icinga.pp 
b/modules/toollabs/manifests/monitoring/icinga.pp
index c5fe747..e1bcb95 100644
--- a/modules/toollabs/manifests/monitoring/icinga.pp
+++ b/modules/toollabs/manifests/monitoring/icinga.pp
@@ -17,10 +17,8 @@
     # these checks are used to track uptime and availability via
     # catchpoint as well as for general alerting and administration.
     $test_entry_host = 'checker.tools.wmflabs.org'
-    $test_entry_host_ip = ipresolve($test_entry_host,4)
-
-    @monitoring::host { 'checker.tools.wmflabs.org':
-        host_fqdn => $test_entry_host_ip,
+    @monitoring::host { $test_entry_host:
+        host_fqdn => $test_entry_host,
     }
 
     # tests are pass/fail based on string return check

-- 
To view, visit https://gerrit.wikimedia.org/r/287993
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife19e9b12a5ad7e1bdb6031f3292dc160b16bb5e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rush <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to