Alexandros Kosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/169724
Change subject: osm: Fix matching the rsync process via nrpe
......................................................................
osm: Fix matching the rsync process via nrpe
Added the --no-detach option and fix rsync binary's path
Change-Id: Ic4370eb1c5d4e843ee75b643a7f571a58e704d6e
---
M manifests/role/osm.pp
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/24/169724/1
diff --git a/manifests/role/osm.pp b/manifests/role/osm.pp
index 43dd352..38d12f3 100644
--- a/manifests/role/osm.pp
+++ b/manifests/role/osm.pp
@@ -160,7 +160,7 @@
}
nrpe::monitor_service { 'check_rsync_server_running':
description => 'Check if rsync server is running',
- nrpe_command => "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:4
--ereg-argument-array 'rsync --daemon'",
+ nrpe_command => "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:4
--ereg-argument-array '/usr/bin/rsync --no-detach --daemon'",
}
}
--
To view, visit https://gerrit.wikimedia.org/r/169724
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4370eb1c5d4e843ee75b643a7f571a58e704d6e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits