Filippo Giunchedi has submitted this change and it was merged.

Change subject: elasticsearch: disable noisy check_elasticsearch
......................................................................


elasticsearch: disable noisy check_elasticsearch

this check is based on ES cluster status != green, which is too sensitive e.g.
when moving shards around the cluster goes red.

its replacement checks the percentage of shards that are moving and alerts
according to a threshold, which has proven much less noisy

Change-Id: Iffb6f05d9b7ab024e706c96280fd3c6a2a58879f
---
M modules/elasticsearch/manifests/nagios/check.pp
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved
  Manybubbles: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/modules/elasticsearch/manifests/nagios/check.pp 
b/modules/elasticsearch/manifests/nagios/check.pp
index 3d63f9d..f16769f 100644
--- a/modules/elasticsearch/manifests/nagios/check.pp
+++ b/modules/elasticsearch/manifests/nagios/check.pp
@@ -4,11 +4,6 @@
 # the elasticsearch::nagios::plugin class.
 #
 class elasticsearch::nagios::check {
-    monitor_service { 'elasticsearch':
-        check_command => 'check_elasticsearch',
-        description   => 'ElasticSearch health check',
-    }
-
     monitor_service { 'elasticsearch shards':
         check_command => 'check_elasticsearch_shards',
         description   => 'ElasticSearch health check for shards',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iffb6f05d9b7ab024e706c96280fd3c6a2a58879f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: Ottomata <o...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to