Dzahn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/381502 )

Change subject: screen-monitor: raise WARN threshold to 24 hours
......................................................................

screen-monitor: raise WARN threshold to 24 hours

Instead of 8 hours, let's wait until 24 hours have passed
before we WARN.

This gives people the option to run something over night,
like an rsync, without causing an alert right away.

While we still get reminders if it's forgotten.

Bug: T165348
Change-Id: Ie2fa502233eab5782a5667da5372ef54ddaf52ca
---
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/02/381502/1

diff --git a/modules/base/manifests/monitoring/host.pp 
b/modules/base/manifests/monitoring/host.pp
index e232c75..abe6161 100644
--- a/modules/base/manifests/monitoring/host.pp
+++ b/modules/base/manifests/monitoring/host.pp
@@ -166,7 +166,7 @@
             check_interval => 240,
             retry_interval => 120,
             description    => 'Long running screen/tmux',
-            nrpe_command   => '/usr/bin/sudo 
/usr/local/lib/nagios/plugins/check_long_procs -w 8 -c 8760',
+            nrpe_command   => '/usr/bin/sudo 
/usr/local/lib/nagios/plugins/check_long_procs -w 24 -c 8760',
         }
     }
 }

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

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

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

Reply via email to