Xymon Mailing List Archive search

Plan for XYMON and SNMP

list Bruce Ferrell
Mon, 20 May 2019 09:16:00 -0700
Message-Id: <user-9b3c951a141f@xymon.invalid>

I'd have to say xymon integration is FAR more stable and flexible than devmon... And I've put a LOT of time into understanding devmon configuration.

Devmon is a "dancing bear" (it's not how well it dances, it's that it dances at all).

That said, because SNMP is so... rich? Charting configuration is interesting to think about.


On 5/17/19 2:04 PM, Jeremy Laidman wrote:
For me, yes.


On Fri, 17 May 2019, 17:59 Japheth Cleaver, <user-87556346d4af@xymon.invalid <mailto:user-87556346d4af@xymon.invalid>> wrote:

    Other than documentation (obviously), would that be the primary feature
    set that helps makes this a reasonable thing to integrate in officially?

    -jc

    On 5/16/2019 11:08 PM, Bruce Ferrell wrote:
I just figured out there has to be a task... At first I wondered how
xymonnet launched xymon-snmpcollector, then I started running it by
hand and running tcpdump to see what was being polled

What it looks like what we don't get is mib variable manipulation ala
devmon... calculated load percentages etc.

Still I think a move in the right direction and it directly supports
snmp v3


On 5/16/19 10:45 PM, Jeremy Laidman wrote:
Not sure what that will give you. The OIDs are extracted from the
file snmpmibs.conf, and I expect you'll have to populate that with
anything you want to monitor.

One thing I forgot to mention is that you need to create a task to
run the xymon-snmpcollect program every 5 minutes. I created a
tasks.d/xymon-snmpcollect.cfg file containing the following:

[snmpcollect]
        ENVFILE $XYMONHOME/etc/xymonserver.cfg
        CMD $XYMONHOME/ext/xymon-snmpcollect --debug
        LOGFILE $XYMONSERVERLOGS/xymon-snmpcollect.log
        INTERVAL 5m

Obviously the --debug flag can be removed.

On Fri, 17 May 2019 at 15:26, Bruce Ferrell <user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>
<mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>> wrote:

    Just thinking aloud... Since the build uses net-snmp, it should
use the same mibs net-snmp uses... So xymon will know about my
SmartUPS and poweredge.

    I'm gonna have to study the code some more


      On 5/16/19 10:08 PM, Jeremy Laidman wrote:
    > Right you are. DOSNMP is set to "yes" as a result of SNMP being
set to 1 (and the Net-SNMP tools being found).
    >
    >
    > On Fri, 17 May 2019 at 14:42, Bruce Ferrell
<user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid> <mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>
<mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid> <mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>>> wrote:
    >
    >     On 5/16/19 9:10 PM, Jeremy Laidman wrote:
    >     > On Fri, 17 May 2019 at 13:36, Bruce Ferrell
<user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid> <mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>
<mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid> <mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>>>> wrote:
    >     >
    >     >     Yes, I did Jeremy.  My apologies.
    >     >
    >     >
    >     > No problem.
    >     >
    >     >     I did figure out I have to export SNMP=1 then
configure and rebuild
    >     >
    >     >
    >     > Ah, I didn't know that. Or I forgot that.
    >     >
    >     > Just looking at the code now - are you sure this isn't
"DOSNMP=1"?
    >
    >
    >     The Makefile tests for if  $SNMP=1... At least in 4.3.28
    >
    >
    >     >     What is the tag in the hosts file (if any)?
    >     >
    >     >
    >     > Nothing. The hostnames are found by xymon-snmpcollect in
the snmphosts.cfg. You still need the hosts to be in hosts.cfg, but
not tags are required.
    >
    >     > Jeremy
    >
    >     Thanks again!
    >
    >
    >     >     On 5/16/19 6:41 PM, Jeremy Laidman wrote:
    >     >     > If you meant to say, "Hey Jeremy" then the answer
is, that it's all stuff for Xymon.
    >     >     >
    >     >     > On Fri, 17 May 2019 at 11:15, Bruce Ferrell
<user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid> <mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>
<mailto:user-24fbf1912cfe@xymon.invalid <mailto:user-24fbf1912cfe@xymon.invalid>>>>>> wrote:
    >     >     >
    >     >     >     Hey Josh, I saw that before.  Is that stuff
that devmon looks at or stuff for xymon.
    >     >     >
    >     >     >     I'm not at all clear
    >     >     >
    >     >     >     Thanks in advance
    >     >     >
    >     >     >     On 5/16/19 6:00 PM, Jeremy Laidman wrote:
    >     >     >>     Xymon already has code for SNMP that works,
but isn't documented. I have it working for me, but it required a
fair bit or digging to find the right
    >     configuration. I've
    >     >     >>     posted on this previously; might help:
https://lists.xymon.com/archive/2019-March/046191.html
    >     >     >>
    >     >     >>     J
    >     >     >>
    >     >     >>     On Thu, 16 May 2019 at 19:26, Bruno Manzoni
<user-81df5df13c04@xymon.invalid <mailto:user-81df5df13c04@xymon.invalid> <mailto:user-81df5df13c04@xymon.invalid <mailto:user-81df5df13c04@xymon.invalid>>
<mailto:user-81df5df13c04@xymon.invalid <mailto:user-81df5df13c04@xymon.invalid>>>>>> wrote:
    >     >     >>
    >     >     >>         Thanks you Josh,
    >     >     >>
    >     >     >>         Yes I know about devmon (I put my own
devmon version which is a try to be a consolidate version)
    >     >     >>
    >     >     >>         In fact, I just would like to know if
there was another SNMP development (but it seems not as you say it
will be merged) inside Xymon . (I am thinking
    a way to
    >     >     integrate
    >     >     >>         SNMP v3, but it do not uses the current
SNMP_session perl lib as it is not supported within this lib)?
    >     >     >>
    >     >     >>         Regards
    >     >     >>
    >     >     >>         Bruno Manzoni
    >     >     >>         (Bonomani)
    >     >     >>
    >     >     >>
    >     >     >>         Le 14.05.2019 à 15:20, Josh Luthman a écrit :
    >     >     >>>         You can just use Devmon these days.
    >     >     >>>
    >     >     >>>         I've seen nothing to suggest the projects
will be merged.
    >     >     >>>
    >     >     >>>         Josh Luthman
    >     >     >>>         Office: XXX-XXX-XXXX
    >     >     >>>         Direct: XXX-XXX-XXXX
    >     >     >>>         XXXX Wayne St
    >     >     >>>         Suite XXXX
    >     >     >>>         Troy, OH XXXXX
    >     >     >>>
    >     >     >>>
    >     >     >>>         On Fri, May 10, 2019 at 12:33 PM Bruno
Manzoni <user-81df5df13c04@xymon.invalid <mailto:user-81df5df13c04@xymon.invalid>
<mailto:user-81df5df13c04@xymon.invalid <mailto:user-81df5df13c04@xymon.invalid>>>>>> wrote:
    >     >     >>>
    >     >     >>>             Hello,
    >     >     >>>
    >     >     >>>             Is there any plan to have SNMP
include with a new version of xymon? If
    >     >     >>>             yes, what is the current state?
    >