ArielGlenn has uploaded a new change for review.

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

Change subject: salt check: crit if over 4 processes
......................................................................

salt check: crit if over 4 processes

this lets minion plus checker plus a couple other jobs be running
without inflicting mass whine; til we igure out a surefire
way to test if there are two minions actually responding

Change-Id: I0b71528e0bf3ee34c007b8043cc2f4049c834954
---
M modules/base/manifests/monitoring/host.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/78/168978/1

diff --git a/modules/base/manifests/monitoring/host.pp 
b/modules/base/manifests/monitoring/host.pp
index 34ff53e..7ec0748 100644
--- a/modules/base/manifests/monitoring/host.pp
+++ b/modules/base/manifests/monitoring/host.pp
@@ -128,6 +128,6 @@
     }
     nrpe::monitor_service { 'check_salt_minion':
         description  => 'check if salt-minion is running',
-        nrpe_command => "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:2 
--ereg-argument-array '^/usr/bin/python /usr/bin/salt-minion'",
+        nrpe_command => "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:4 
--ereg-argument-array '^/usr/bin/python /usr/bin/salt-minion'",
     }
 }

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

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

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

Reply via email to