Dzahn has submitted this change and it was merged. Change subject: icinga: fix jenkins monitoring ......................................................................
icinga: fix jenkins monitoring 622bf3a8 / https://gerrit.wikimedia.org/r/#/c/58489/ tweaked the jenkins command like to define a java system property. That makes check_jenkins unable to find the process. Using a wildcard regex between java and the -jar would let us catch the jenkins process no matter how many system properties we can set. Change-Id: I58532453961c8c8ddc9d2c7fd723dbdad172a615 --- M templates/icinga/nrpe_local.cfg.erb 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Dzahn: Verified; Looks good to me, approved diff --git a/templates/icinga/nrpe_local.cfg.erb b/templates/icinga/nrpe_local.cfg.erb index 9cbc02c..33214e8 100644 --- a/templates/icinga/nrpe_local.cfg.erb +++ b/templates/icinga/nrpe_local.cfg.erb @@ -8,7 +8,7 @@ # process checks, we can't make this generic because we don't pass args via nrpe (security) command[check_ircecho]=/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1:20 -a ircecho -command[check_jenkins]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 --ereg-argument-array '^/usr/bin/java -jar /usr/share/jenkins/jenkins.war' +command[check_jenkins]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 --ereg-argument-array '^/usr/bin/java .*-jar /usr/share/jenkins/jenkins.war' command[check_zuul]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 --ereg-argument-array '^/usr/bin/python /usr/local/bin/zuul-server' command[check_mailman]=/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1:35 -a mailman command[check_spamd]=/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:40 -a spamd -- To view, visit https://gerrit.wikimedia.org/r/58906 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I58532453961c8c8ddc9d2c7fd723dbdad172a615 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Hashar <[email protected]> Gerrit-Reviewer: Dzahn <[email protected]> Gerrit-Reviewer: Lcarr <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
