From dce22d681afeca5d0de1d39b2ec4b24264557b30 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Thu, 29 Nov 2012 16:41:36 +0000 Subject: * Added mauve suppression to the mauve alert class. * Added debian recommendation for mauvealert-client --- lib/custodian/alerts/mauve.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/custodian/alerts/mauve.rb') diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb index 417a1f2..300c90c 100644 --- a/lib/custodian/alerts/mauve.rb +++ b/lib/custodian/alerts/mauve.rb @@ -81,6 +81,11 @@ module Custodian # alert.raise_time = Time.now.to_i + # + # We're going to suppress this alert for 7 minutes to suppress flaps. + # + alert.suppress_until = Time.now.to_i + 420 + # # Update it and send it # -- cgit v1.2.1