Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/112060
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/60/112060/1
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: newchange
Gerrit-Change-Id: If0117511497ee1457e63d2710f1c3e29f4f44bc0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits