[Check_mk (english)] Marking flapping Host as OK

Marcel Schulte schulte.marcel at gmail.com
Mon Feb 20 16:25:13 CET 2017


In this case you can only deactivate notifications for the service. This
way you see the service state is CRIT in the GUI but do not get notified...

Marcel

Am 20.02.2017 15:03 schrieb "Paraic O'Ceallaigh" <poceallaigh at fexco.com>:

> Hi Marcel
>
> It was for the ping service:
>
>
>
> Host
>
> VSGNISAFECOMS1
> <http://nagios2/ko/check_mk/index.py?start_url=view.py%3Fview_name%3Dhoststatus%26host%3DVSGNISAFECOMS1>
> (VSGNISAFECOMS1)
>
> Service
>
> PING
> <http://nagios2/ko/check_mk/index.py?start_url=view.py%3Fview_name%3Dservice%26host%3DVSGNISAFECOMS1%26service%3DPING>
>
> Event
>
> OK → CRITICAL
>
> Address
>
> 10.20.20.23
>
> Date / Time
>
> Sun Feb 19 14:31:21 GMT 2017
>
> Relative Time
>
> 0d 00:06:01
>
> Plugin Output
>
> CRITICAL - 10.20.20.23: rta nan, lost 100%
>
> Additional Output
>
> Host Performance Data
>
> Performance Data
>
> rta=0.000ms;200.000;500.000;0; pl=100%;80;100;; rtmax=0.000ms;;;;
> rtmin=0.000ms;;;;
>
>
>
>
>
> Rgds
>
> Paraic
>
>
>
> *From:* Marcel Schulte [mailto:schulte.marcel at gmail.com]
> *Sent:* Monday, February 20, 2017 1:06 PM
> *To:* Paraic O'Ceallaigh
> *Cc:* checkmk-en at lists.mathias-kettner.de
> *Subject:* Re: [Check_mk (english)] Marking flapping Host as OK
>
>
>
> Hi Paraic,
>
>
>
> Do you get notifications for the host state or for the ping service?
>
>
>
> Regards,
>
> Marcel
>
>
>
> Am 20.02.2017 13:20 schrieb "Paraic O'Ceallaigh" <poceallaigh at fexco.com>:
>
> Hi Jam
>
> That was one of the methods I tried but it still sent notifications when
> it flapped down. This seemed like the most logical way to do it.
>
>
>
> This is what I did for that:
>
> -          I used WATO to configure – specified a hostgroup-tag and set
> that parameter under ‘Conditions’
>
> -          Specified explicit hostname
>
> -          Set drop down to Always assume host to be up under ‘Host check
> Command’
>
>
>
> Did a re-inventory and restart to be sure but it still sent a
> notification. Am I missing something in understanding how this works maybe?
>
>
>
> Paraic
>
>
>
> *From:* Jam Mulch [mailto:spammagnet10 at gmail.com]
> *Sent:* Monday, February 20, 2017 12:08 PM
> *To:* Paraic O'Ceallaigh
> *Cc:* checkmk-en at lists.mathias-kettner.de
> *Subject:* Re: [Check_mk (english)] Marking flapping Host as OK
>
>
>
> You can add a rule to change the host check command for that host from
>
> Ping to 'Always assume host to be Up'. If there are many such hosts you
> could
>
> create a host tag for the rule or place them all in a folder and create
> the rule
>
> in that folder so all you have to do is move the problematic hosts into
> the folder.
>
>
>
> Sent from my iPad
>
>
> On Feb 20, 2017, at 4:37 AM, Paraic O'Ceallaigh <poceallaigh at fexco.com>
> wrote:
>
> Hi
>
> I tried several different ways to mark an intermittently down host as OK
> but failed.
>
>
>
> I tried disabling the PING service,
>
>
>
> adding an entry in main.mk by referring to the host-tag :
>
> host_check_commands += [
>
>   ( ("ok"), [ "Dont-monitor" ], ALL_HOSTS ),
>
> ]
>
> I did the same with the extra_host_conf label and editing the rule Hosts
> to monitor but to no avail.
>
>
>
> Finally I just switched off notifications for the PING service and at
> least I am not receiving notifications.
>
>
>
> My question is – what is the best way to mark a host that is going up and
> down frequently as permanently OK? Preferably in WATO.
>
>
>
> Thnx
>
> Paraic
>
>
>
>
>
> *This email, including any attachments, is confidential.  If you are not
> the named recipient, please contact the sender and delete all copies of
> this email from your computer system(s).*
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
>
> --
> Fortress Shield (by ParaTech, LLC)
>
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
>
> --
> Fortress Shield (by ParaTech, LLC)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20170220/e9df2165/attachment-0001.html>


More information about the checkmk-en mailing list