Yuvipanda has uploaded a new change for review.

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

Change subject: tools: Fix iowait check
......................................................................

tools: Fix iowait check

- Only add this check for tools instances
- Fix syntax to make the check actually work (need --over)

Change-Id: I4e79945bff5de79ad221c0ecf2151971f1f0fbd4
---
M modules/toollabs/files/shinken.cfg
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/01/300901/1

diff --git a/modules/toollabs/files/shinken.cfg 
b/modules/toollabs/files/shinken.cfg
index f45a16f..2044e68 100644
--- a/modules/toollabs/files/shinken.cfg
+++ b/modules/toollabs/files/shinken.cfg
@@ -15,8 +15,8 @@
 
 # Check that no nodes have more than 50% iowait (warn) / 80% iowait (crit) for 
over 5 minutes
 define service {
-    check_command                  
check_graphite_series_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.cpu.total.iowait!50!80!10min!1!
-    hostgroup_name                 role::labs::instance
+    check_command                  
check_graphite_series_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.cpu.total.iowait!50!80!10min!1!--over
+    hostgroup_name                 tools
     service_description            High iowait
     use                            generic-service
 }
\ No newline at end of file

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

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

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

Reply via email to