Hi,

On Fri, Aug 18, 2017 at 01:01:48PM +0200, Viktor Naumov wrote:
> Here how it (always) works.
> 
> There is a job started every 30 minutes. If a probe is down longer than 
> the "Notify time" you will get a notification. So in your case (10 
> minutes) you should get an email within interval of [10 , 40) minutes.

This is a bit awkward...  can this be improved, like, run this job every
minute or so?

A single "select id from probes where downtime>notify and not is_notified"
statement shouldn't cost much...  (no ideas about your table setup, 
though :-) )

Gert Doering
        -- NetMaster
-- 
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                   HRB: 136055 (AG Muenchen)
Tel: +49 (0)89/32356-444           USt-IdNr.: DE813185279

Attachment: signature.asc
Description: PGP signature

Reply via email to