Jcrespo has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/405338 )

Change subject: mariadb: Exclude labsdb1001,2,3 from megacli policy check
......................................................................


mariadb: Exclude labsdb1001,2,3 from megacli policy check

labsdb1003 has a bad BBU, but it has been scheduled for decommission,
-it is already out of service- disable the check so it doesn't add
spam to the alerts.

labsdb1006,7 are logical raids (md), labsdb1008 doesn't exist,
labsdb1009,10,11 are not megacli-checked servers.

Bug: T142807
Change-Id: I54118711746a1c7066c4636dc042c6fc0f187a67
---
M hieradata/regex.yaml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Jcrespo: Looks good to me, approved



diff --git a/hieradata/regex.yaml b/hieradata/regex.yaml
index b0f9d22..873e04e 100644
--- a/hieradata/regex.yaml
+++ b/hieradata/regex.yaml
@@ -212,7 +212,7 @@
 # be applied to HP RAIDs when available. Systems where this is not currently
 # compatible are ignored and do not send any alert.
 db_like_raid_policy:
-  __regex: !ruby/regexp 
/^(db|dbstore|es|pc|labsdb)[12]\d\d\d\.(eqiad|codfw)\.wmnet$/
+  __regex: !ruby/regexp 
/^((db|dbstore|es|pc)[12]\d\d\d|labsdb1\d(1[0-9]|0[4-9]))\.(eqiad|codfw)\.wmnet$/
   profile::base::check_raid_policy: 'WriteBack'
 
 # disable screen monitoring, fallback for servers not covered by roles 
(T165348)

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I54118711746a1c7066c4636dc042c6fc0f187a67
Gerrit-PatchSet: 6
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <jcre...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Jcrespo <jcre...@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