Ottomata has submitted this change and it was merged.

Change subject: Unbreak I863367b8: Fix existing 
check_graphite(_series)?_threshold callers
......................................................................


Unbreak I863367b8: Fix existing check_graphite(_series)?_threshold callers

Change-Id: I80040bee8ccf5600a027c23c6bb05eba9d0066d8
---
M modules/beta/files/shinken.cfg
M modules/shinken/files/labs/basic-instance-checks.cfg
M modules/toollabs/files/shinken.cfg
3 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/modules/beta/files/shinken.cfg b/modules/beta/files/shinken.cfg
index d5ca07a..7ac89ea 100644
--- a/modules/beta/files/shinken.cfg
+++ b/modules/beta/files/shinken.cfg
@@ -66,12 +66,12 @@
     service_description         Long lived cherry-picks on puppetmaster
     hostgroup_name              role::beta::puppetmaster
     use                         generic-service
-    check_command               
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.CherryPickCounterCollector.cherrypicked_commits.ops-puppet!0!0!48h!100!--over
+    check_command               
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.CherryPickCounterCollector.cherrypicked_commits.ops-puppet!0!0!48h!100!0min!--over
 }
 
 define service {
     service_description         Keyholder status
     hostgroup_name              role::deployment::server
     use                         generic-service
-    check_command               
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.NagiosCollector.keyholder_status!0!0!48h!100!--over
+    check_command               
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.NagiosCollector.keyholder_status!0!0!48h!100!0min!--over
 }
diff --git a/modules/shinken/files/labs/basic-instance-checks.cfg 
b/modules/shinken/files/labs/basic-instance-checks.cfg
index 22c43b1..96aaf72 100644
--- a/modules/shinken/files/labs/basic-instance-checks.cfg
+++ b/modules/shinken/files/labs/basic-instance-checks.cfg
@@ -4,7 +4,7 @@
 
 # Check that all mounts have at least 10% free space (for warn), 5% (for crit)
 define service {
-        check_command                  
check_graphite_series_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.diskspace.*.byte_percentfree!15!10!10min!1!--under
 --allow-undefined
+        check_command                  
check_graphite_series_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.diskspace.*.byte_percentfree!15!10!10min!1!0min!--under
 --allow-undefined
         hostgroup_name                 role::labs::instance
         service_description            Free space - all mounts
         use                            generic-service
@@ -13,7 +13,7 @@
 
 # Check for puppet failure events
 define service {
-        check_command                  
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.puppetagent.failed_events!0!0!10min!1!--over
+        check_command                  
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.puppetagent.failed_events!0!0!10min!1!0min!--over
         hostgroup_name                 role::labs::instance
         service_description            Puppet run
         use                            generic-service
@@ -42,7 +42,7 @@
 
 # Check for puppet staleness
 define service {
-        check_command                  
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.puppetagent.time_since_last_run!3600!43200!10min!1!--over
+        check_command                  
check_graphite_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.puppetagent.time_since_last_run!3600!43200!10min!1!0min!--over
         hostgroup_name                 role::labs::instance
         service_description            Puppet staleness
         use                            generic-service
diff --git a/modules/toollabs/files/shinken.cfg 
b/modules/toollabs/files/shinken.cfg
index 2044e68..1b0dc38 100644
--- a/modules/toollabs/files/shinken.cfg
+++ b/modules/toollabs/files/shinken.cfg
@@ -15,7 +15,7 @@
 
 # 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!--over
+    check_command                  
check_graphite_series_threshold!https://graphite-labs.wikimedia.org!10!$HOSTNOTES$.$HOSTNAME$.cpu.total.iowait!50!80!10min!1!0min!--over
     hostgroup_name                 tools
     service_description            High iowait
     use                            generic-service

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I80040bee8ccf5600a027c23c6bb05eba9d0066d8
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <a...@wikimedia.org>
Gerrit-Reviewer: Alex Monk <a...@wikimedia.org>
Gerrit-Reviewer: Coren <m...@uberbox.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Ottomata <o...@wikimedia.org>
Gerrit-Reviewer: Yuvipanda <yuvipa...@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