[Check_mk (english)] Check_MK, SNMP, Juniper, Help!

As far as only monitoring select interfaces this is the method I use
and it works great. This is a line in my main.mk file:

ignored_services = [([], ALL_HOSTS, ['(?i)(Interface

(?!(member|agg|trunk|uplink)))']),]

Basically this says, ignore all services that start with "Interface"

except those that start with Interface followed by “agg” or “trunk”
or “uplink”] (case insensitive). So on my switches I added or made
sure to have either AGG/TRUNK/UPLINK come first, whichever was most
applicable.

So as I said, I'm only monitoring a handful of interfaces on each

switch, but even monitoring three causes issues.

This is the thing:  why doesn't Zenoss or NetMRI cause the same

issues, these are monitoring EVERY port on the switch. Is there a
way to look at the check itself? I had trouble finding it’s
location and sort of gave up. I would like to compare the Zenoss
Code to the MK/nagios code and see if I can discern anything.

I also appreciate the other suggestions everyone has provided.  And

I do agree, use the tool that works best, BUT having just one tool
would be so nice! :slight_smile:

Matt
···

On 11/10/2015 12:51 PM, William wrote:

    That sounds cool, when would you expect that to be

released for us free users?

Cheers

      If it comes to classic interface checks take a

look at check_nwc_health from Consol.
This is one of the best approaches to checking all the
different types of network devices with only one classic
check.

        I use this for some remote devices on very limited

bandwidth and it is working without problem, with check_mk
interface checks there are too many timeouts over this wan
connection. With the next innovation releases comes an
option to only pull selected interfaces from a network
device with check_mk. This will make then such constructs
obsolete.

Best regards

Andreas

Jam Mulch <spammagnet10@gmail.com >
schrieb am Di., 10. Nov. 2015 um 17:41 Uhr:

              When it comes

down to it, you should probably use the best tool for
the job.

              I use Nagios XI for most of my external checks, and

Check_MK for most of

              my internal checks, though I'm starting to switch to

Check_MK for some of

              the storage (NetApp, Isilon, etc...) since it

generates individual services

              and makes it easier to manage larger dynamic

installations.

On 11/10/2015 03:09 AM, William wrote:

                  Hi, we are still in a situation where

we can’t monitor our ex2200s.

                  Our other tech is trying to push zabbix

because of this issue which sucks as check_mk
seems alot friendlier to manage. :frowning:

                  On 9 Nov 2015 19:41,

“Andreas Döhler” <andreas.doehler@gmail.com
>
wrote:

Hi Matthew,

                        yes the "Check_MK" service is the only

active service pulling all the needed data
from the target device. The shown time is
the complete runtime to pull the data.

                        I can remember that there where a

discussion so days/weeks before regarding
the long runtime of interface checks on
Juniper devices.

http://lists.mathias-kettner.de/pipermail/checkmk-en/2015-June/015902.html

                        The result of this discussion was that

Juniper has some stupid SNMP implementation
and it is nearly impossible to monitor the
complete switch if there are more than some
ports on the switch.

Best regards

Andreas

Matthew Nickerson <
>
schrieb am Mo., 9. Nov. 2015 um 20:01 Uhr:

                          Can someone also please explain what

the check called “check_mk”

                          actually does.  I know this sounds so

stupid, but I can’t figure it

                          out.  I assume it is a count of how long

it takes to complete all of the

                          checks assigned to a given host, maybe? I

do know this, when interface

                          monitoring is on, the execution time of

this process is increased on

                          average by about 3.5 times on every

device. Take a look at the attached

                          photo, of the check_mk execution time. 

Ythe time when I disabled

                          interface monitoring.  Very significant

difference. I’m trying to figure

                          out how these two things tie together to

troubleshoot this.

                          Thanks in advance all!



                          On 11/9/2015 1:28 PM, Matthew Nickerson

wrote:

                          > So, as Lance pointed out to me once,

I know there was a big discussion

                          > that took place just before I joined

the list. I’ve read through it,

                          > but I'm wondering if there have been

any developments. This

                          > conversation was in regard to SNMP

checks, timeouts, and CPU usage on

                          > Juniper devices with Check_MK.

                          >

                          > As it stands, now, when I enable 

interface monitoring (evenly solely

                          > on my critical links) the CPU usage

goes through the roof and timouts

                          > and retries happen all over the

place. I have set all of the timers

                          > various SNMP checks super low, and

have tweaked my SNMP timout and

                          > retry values, (currently at 7 seconds

with 5 second retry) but it

                          > isn't helping much

                          >

                          > Let me also say that we are currently

using Zenoss AND Infoblox

                          > NetMRI, both of which are monitoring

these Juniper Switches. Further,

                          > when they are turned on they are

monitoring EVERY single interface on

                          > every juniper switch at 10 minute

intervals and they do not cause the

                          > above mentioned problems on the

switches. I have tried turning them

                          > off, and in fact, have them turned

off completely on the problem

                          > switches and still all of the issues

appear when check_mk is

                          > monitoring even just a handful of

interfaces… This leads me to

                          > believe that, indeed there may be

something wrong with the juniper

                          > checks.

                          >

                          > Just trying to get some input,

because as it stands I won’t be able to

                          > use check_mk, unfortunately, because

I absolutely love it and want to

                          > get rid everything else!

                          >

                          > Help!

                          >



                          --

                          Matthew Nickerson

                          Network Engineer

                          Computing Facilities, SCS

                          Carnegie Mellon University

                          (412) 268-7273

                          checkmk-en mailing list

                          checkmk-en@lists.mathias-kettner.de

                          [http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
                    _______________________________________________

                    checkmk-en mailing list

                    checkmk-en@lists.mathias-kettner.de

                    [http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)

            checkmk-en mailing list

            checkmk-en@lists.mathias-kettner.de

            [http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
    _______________________________________________

    checkmk-en mailing list

    checkmk-en@lists.mathias-kettner.de

    [http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
-- Matthew Nickerson
Network Engineer
Computing Facilities, SCS
Carnegie Mellon University
(412) 268-7273

mnickers@cs.cmu.edu