Alexandros Kosiaris has submitted this change and it was merged.
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(-)
Approvals:
Alexandros Kosiaris: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ic4370eb1c5d4e843ee75b643a7f571a58e704d6e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits