On Tue, Jul 18, 2017 at 04:08:37PM +0200, Evilham wrote:
[cut]
>
> So, I just added the delay. That means: if a service is down but back up
> again in less than 2 minutes, there won't be a notification.
>
You might also consider to set a number of failures to be accumulated
before an actual alarm is raised. I mean, you might want a failure to
become an alarm only if you have tried three times and you didn't have
any success.
But again, this way you will be re-inventing nagios ;)
HND
KatolaZ
--
[ ~.,_ Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab ]
[ "+. katolaz [at] freaknet.org --- katolaz [at] yahoo.it ]
[ @) http://kalos.mine.nu --- Devuan GNU + Linux User ]
[ @@) http://maths.qmul.ac.uk/~vnicosia -- GPG: 0B5F062F ]
[ (@@@) Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ ]