Jcrespo has submitted this change and it was merged.

Change subject: Fixing eventlogging_sync process monitoring
......................................................................


Fixing eventlogging_sync process monitoring

Parameters were setup wrongly. Ensure 1 and only 1 process is
running replicating eventloggin events.

Change-Id: Iebae41d9a45b492b3907270cc107c642ab04626c
---
M manifests/role/mariadb.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/manifests/role/mariadb.pp b/manifests/role/mariadb.pp
index f0e50dd..2d423c4 100644
--- a/manifests/role/mariadb.pp
+++ b/manifests/role/mariadb.pp
@@ -373,7 +373,7 @@
     }
     nrpe::monitor_service { 'eventlogging_sync':
         description  => 'eventlogging_sync processes',
-        nrpe_command => "/usr/lib/nagios/plugins/check_procs -c 
${instances_count}:${instances_count} -C eventlogging_sync.sh",
+        nrpe_command => '/usr/lib/nagios/plugins/check_procs -c 1:1 -u root -a 
"/bin/bash /usr/local/bin/eventlogging_sync.sh"',
         critical      => false,
         contact_group => 'dba',
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iebae41d9a45b492b3907270cc107c642ab04626c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to