[Xymon] Plan for XYMON and SNMP

Jeremy Laidman jeremy at laidman.org
Fri May 17 23:04:59 CEST 2019


For me, yes.


On Fri, 17 May 2019, 17:59 Japheth Cleaver, <cleaver at terabithia.org> 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 <bferrell at baywinds.org
> >> <mailto:bferrell at baywinds.org>> 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
> >> <bferrell at baywinds.org <mailto:bferrell at baywinds.org>
> >> <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>>> wrote:
> >>     >
> >>     >     On 5/16/19 9:10 PM, Jeremy Laidman wrote:
> >>     >     > On Fri, 17 May 2019 at 13:36, Bruce Ferrell
> >> <bferrell at baywinds.org <mailto:bferrell at baywinds.org>
> >> <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>>
> >>     <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>
> >> <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>>>> 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
> >> <bferrell at baywinds.org <mailto:bferrell at baywinds.org>
> >> <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>>
> >>     <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>
> >> <mailto:bferrell at baywinds.org <mailto:bferrell at baywinds.org>>>
> >>     >     <mailto:bferrell at baywinds.org
> >> <mailto:bferrell at baywinds.org> <mailto:bferrell at baywinds.org
> >> <mailto:bferrell at baywinds.org>> <mailto:bferrell at baywinds.org
> >>     <mailto:bferrell at baywinds.org> <mailto:bferrell at baywinds.org
> >> <mailto:bferrell at baywinds.org>>>>> 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
> >> <bruno.manzoni at ubi-network.ch <mailto:bruno.manzoni at ubi-network.ch>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >>     <mailto:bruno.manzoni at ubi-network.ch>>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >>     >     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >>     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>
> >>     >     >     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>>>> 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: 937-552-2340
> >>     >     >     >>>         Direct: 937-552-2343
> >>     >     >     >>>         1100 Wayne St
> >>     >     >     >>>         Suite 1337
> >>     >     >     >>>         Troy, OH 45373
> >>     >     >     >>>
> >>     >     >     >>>
> >>     >     >     >>>         On Fri, May 10, 2019 at 12:33 PM Bruno
> >> Manzoni <bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >>     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >>     >     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >>     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>
> >>     >     >     <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>
> >> <mailto:bruno.manzoni at ubi-network.ch
> >> <mailto:bruno.manzoni at ubi-network.ch>>>>> wrote:
> >>     >     >     >>>
> >>     >     >     >>>             Hello,
> >>     >     >     >>>
> >>     >     >     >>>             Is there any plan to have SNMP
> >> include with a new version of xymon? If
> >>     >     >     >>>             yes, what is the current state?
> >>     >
> >>
> >
> > _______________________________________________
> > Xymon mailing list
> > Xymon at xymon.com
> > http://lists.xymon.com/mailman/listinfo/xymon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20190518/cfaf0784/attachment.html>


More information about the Xymon mailing list