Aside from that advantage that Robert mentioned, I think the MRPE's
intention isn't to compete with the local checks but instead to make the
Nagios plugins (NRPE) easier to integrate into check_mk.  That's what I use
it for.  I have local checks for things I wrote (mostly simpler things), I
use MRPE for the Nagios plugins brought over from when we were using
Icinga, and big/complex checks that I look for on the Nagios Exchange and
places like that.

I suppose another advantage of the MRPE system is that it uses a
centralized config for the host being monitored (/etc/check_mk/mrpe.cfg)
where one configures the plugins along with the parameters for those
plugins.

As an aside, I modified the check_mk_agent script slightly so that it also
looks at config files within /etc/check_mk/mrpe.d (similar to how the
sudoers.d works); this made it a little bit cleaner and easier to integrate
with configuration management automation (eg.
/etc/check_mk/mrpe.d/check_postgres.cfg for only some hosts that have
Postgres, a general /etc/check_mk/mrpe.cfg for every host for general
checks).



Message: 2
Date: Fri, 14 Oct 2016 16:40:18 +0200 (CEST)
From: "mlis <ml...@libero.it>t"
To: Robert Sander ,
        <checkmk-en@lists.mathias-kettner.de>
Subject: [Check_mk (english)] R: Re: difference between local checks
        and MRPE
Message-ID:
        <811694031.2365191476456018091.javamail.ht...@webmail-35.iol.local>
Content-Type: text/plain;charset="UTF-8"

Thanks Robert I didn't know that. So...is correct to say that "local
checks" is
the preferred method over MRPE? Or are there special case in which MRPE is
still better?


>----Messaggio originale----
>Da: "Robert Sander"
>Data: 14/10/2016 16.13
>A: <checkmk-en@lists.mathias-kettner.de>
>Ogg: Re: [Check_mk (english)] difference between local checks and MRPE
>
>On 14.10.2016 14:00,
>
>> apart the fact that they use a different mechanism, is there any good
>> reason or case for which I should use one of them?
>
>Local checks can be placed in numeric subdirectories. This way they are
>run asynchronously which is not possible with MRPE.
>
>Regards
>--
>Robert Sander
>Heinlein Support GmbH
>Schwedter Str. 8/9b, 10119 Berlin
>
>http://www.heinlein-support.de
>
>Tel: 030 / 405051-43
>Fax: 030 / 405051-19
>
>Zwangsangaben lt. ?35a GmbHG:
>HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
>Gesch?ftsf?hrer: Peer Heinlein -- Sitz: Berlin
>
>
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Reply via email to