Gehel has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/349241 )
Change subject: wdqs - monitor response times for both eqiad and codfw
......................................................................
wdqs - monitor response times for both eqiad and codfw
Now that we are in an active / active configuration, we should have the same
monitoring on eqiad and codfw
Change-Id: I93778c444fd554926cd787a895fd24a1bb4eb008
---
M modules/icinga/manifests/monitor/wdqs.pp
1 file changed, 12 insertions(+), 1 deletion(-)
Approvals:
Smalyshev: Looks good to me, but someone else must approve
jenkins-bot: Verified
Gehel: Looks good to me, approved
diff --git a/modules/icinga/manifests/monitor/wdqs.pp
b/modules/icinga/manifests/monitor/wdqs.pp
index f97cedd..94ef4f9 100644
--- a/modules/icinga/manifests/monitor/wdqs.pp
+++ b/modules/icinga/manifests/monitor/wdqs.pp
@@ -4,7 +4,18 @@
# raise a warning / critical alert if response time was over 2 minutes / 5
minutes
# more than 5% of the time during the last minute
monitoring::graphite_threshold { 'wdqs-response-time':
- description => 'Response time of WDQS',
+ description => 'Response time of WDQS codfw',
+ host => 'wdqs.svc.codfw.wmnet',
+ metric =>
'varnish.codfw.backends.be_wdqs_svc_eqiad_wmnet.GET.p99',
+ warning => 120000, # 2 minutes
+ critical => 300000, # 5 minutes
+ from => '10min',
+ percentage => 5,
+ contact_group => 'wdqs-admins',
+ }
+
+ monitoring::graphite_threshold { 'wdqs-response-time':
+ description => 'Response time of WDQS eqiad',
host => 'wdqs.svc.eqiad.wmnet',
metric =>
'varnish.eqiad.backends.be_wdqs_svc_eqiad_wmnet.GET.p99',
warning => 120000, # 2 minutes
--
To view, visit https://gerrit.wikimedia.org/r/349241
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I93778c444fd554926cd787a895fd24a1bb4eb008
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits