Dzahn has submitted this change and it was merged. ( 
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(-)

Approvals:
  Andrew Bogott: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ie2fa502233eab5782a5667da5372ef54ddaf52ca
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Herron <[email protected]>
Gerrit-Reviewer: Volans <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to