Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/51058


Change subject: add NRPE check commands for zuul-server process monitoring
......................................................................

add NRPE check commands for zuul-server process monitoring

Change-Id: I67461a3b9ac346894fb75275720c28313de17fd8
---
M templates/icinga/checkcommands.cfg.erb
M templates/nagios/nrpe_local_icinga.cfg.erb
2 files changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/58/51058/1

diff --git a/templates/icinga/checkcommands.cfg.erb 
b/templates/icinga/checkcommands.cfg.erb
index 8577b7c..a345992 100644
--- a/templates/icinga/checkcommands.cfg.erb
+++ b/templates/icinga/checkcommands.cfg.erb
@@ -367,6 +367,10 @@
        command_line    /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c 
check_jenkins
 }
 define command{
+       command_name    nrpe_check_zuul
+       command_line    /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c 
check_zuul
+}
+define command{
        command_name    nrpe_check_mailman
        command_line    /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c 
check_mailman
 }
diff --git a/templates/nagios/nrpe_local_icinga.cfg.erb 
b/templates/nagios/nrpe_local_icinga.cfg.erb
index 0b422f6..59a2229 100644
--- a/templates/nagios/nrpe_local_icinga.cfg.erb
+++ b/templates/nagios/nrpe_local_icinga.cfg.erb
@@ -11,6 +11,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:3 -c 1:20 -a 
jenkins
+command[check_zuul]=/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1:20 -a 
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
 command[check_poolcounterd]=/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:3 
-C poolcounterd

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67461a3b9ac346894fb75275720c28313de17fd8
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to