Re: master switch

Guillaume François <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CALwv5CyOrTzwamFiTpFSf8H0fkuyAaAROiW2zPcY+rhAWvNFnA@mail.gmail.com>
You could use the "group" feature to monitor/unmonitor a set of checks

2018-04-15 0:24 GMT+02:00 SZÉPE Viktor <[email protected]>:

> Idézem/Quoting Lutz Mader <[email protected]>:
>
> Hello Viktor,
>> I disable the "check host" services, if the host is not available.
>>
>> When there is a connection issue in the datacenter where my server is
>>> located
>>> Monit sends 1 zillion alerts.
>>>
>>
>> I use tests like this, to do this. The first one send alerts or do
>> somthing and an additional test to disable (unmonitor) the service.
>>
>> check host Ldap_Host with address my.ldap.de
>> if failed port 2443 with timeout 30 seconds retry 10 then alert
>> if failed port 2443 with timeout 30 seconds retry 30 then unmonitor
>>
>> But it is necessary to enable (monitor) the service after the host is
>> available again.
>>
>> A suggestion only.
>>
>
> Thank you.
> It works for *one* check.
>
> My question would be about *all network* checks, as a network outage
> triggers an alert on all of them.
> My monitoring server has 10+ network checks.
>
>
>
> SZÉPE Viktor, honlap üzemeltetés / Running your application
> https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
> --
> ügyelet/hotline: +36-20-4242498  [email protected]  skype: szepe.viktor
> Budapest, III. kerület
>
>
>
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--?
w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-)
DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.