Gage has submitted this change and it was merged.

Change subject: fix whitespace in mysql nrpe check command
......................................................................


fix whitespace in mysql nrpe check command

"nrpe::monitor_service { 'mysql disk space':"

from I100a7adb4211b7fc6f0e7a37471010d4371a795b

results in files with actual whitespace, like

file "check_mysql disk space.cfg"
check_mysql disk space.cfg: ASCII text

on the monitored servers

and errors like:

<+icinga-wm> PROBLEM - MySQL disk space on db35 is CRITICAL:
NRPE: Command check_mysql not defined

etc on all mysql servers

Change-Id: If0117511497ee1457e63d2710f1c3e29f4f44bc0
---
M modules/mysql_wmf/manifests/init.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/mysql_wmf/manifests/init.pp 
b/modules/mysql_wmf/manifests/init.pp
index 0d104f0..453371f 100644
--- a/modules/mysql_wmf/manifests/init.pp
+++ b/modules/mysql_wmf/manifests/init.pp
@@ -7,7 +7,7 @@
 class mysql_wmf(
     $mariadb = false,
     ) {
-    nrpe::monitor_service { 'mysql disk space':
+    nrpe::monitor_service { 'mysql_disk_space':
         description   => 'MySQL disk space',
         nrpe_command  => '/usr/lib/nagios/plugins/check_disk -w 6% -c 3% -l 
-e',
         critical      => true,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If0117511497ee1457e63d2710f1c3e29f4f44bc0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Gage <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to