Faidon has uploaded a new change for review.

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


Change subject: Fix check_ircecho
......................................................................

Fix check_ircecho

check_ircecho checks via nrpe on itself, which makes the count be
inflated by one and currently warning as it falls out of the 1-3
threshold. Increase it to 1-4 and make it shut up.

Change-Id: I0a778dc7cc057f55641a7336f855947ab94019ad
---
M templates/nagios/nrpe_local.cfg.erb
M templates/nagios/nrpe_local_icinga.cfg.erb
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/49376/1

diff --git a/templates/nagios/nrpe_local.cfg.erb 
b/templates/nagios/nrpe_local.cfg.erb
index 862aab0..6dd0bbf 100644
--- a/templates/nagios/nrpe_local.cfg.erb
+++ b/templates/nagios/nrpe_local.cfg.erb
@@ -9,7 +9,7 @@
 command[check_ram]=/usr/lib/nagios/plugins/check_ram.sh 20 5 b
 
 # 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:3 -c 1:20 -a 
ircecho
+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_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
diff --git a/templates/nagios/nrpe_local_icinga.cfg.erb 
b/templates/nagios/nrpe_local_icinga.cfg.erb
index 452323b..0b422f6 100644
--- a/templates/nagios/nrpe_local_icinga.cfg.erb
+++ b/templates/nagios/nrpe_local_icinga.cfg.erb
@@ -9,7 +9,7 @@
 command[check_ram]=/usr/lib/nagios/plugins/check_ram.sh 20 5 b
 
 # 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:3 -c 1:20 -a 
ircecho
+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_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/49376
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a778dc7cc057f55641a7336f855947ab94019ad
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon <[email protected]>

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

Reply via email to