From: Mario A. P. <row...@gm...> - 2010-09-21 15:42:41
|
Hi Buchan, How are you? The V3 support is running good on my systems , I would like to share the code with the community, Did you have time to test? Regards, Mario. On Thu, Sep 9, 2010 at 2:57 PM, Mario Andre Panza <row...@gm...>wrote: > > Hi Buchan, > > Did you have time to test or to see the code? > > > Regards, > > Mario. > > > > > > > On Fri, Aug 27, 2010 at 11:09 AM, Mario Andre Panza < > row...@gm...> wrote: > >> Hi Buchan, >> >> How are you? >> >> The passed weeks I have too much work and could not send to you my first >> version. It's running good on my VM machine. >> >> This 1st version uses only the v3 authentication and I'm working now for >> the encryption parameters on the next version. >> >> >> I'm sending to you the trunk version I've used and the modified version. >> Please take a look. >> >> I've modified dm_config.pm , dm_snmp.pm and dm_templates.pm. >> >> devmon, version 0.3.1-beta1 >> >> Node name: kunis >> Node number: 0 >> Process ID: 2786 >> >> Cycle time: 300 >> Dead time: 180 >> >> Polled devices: 3 >> Polled tests: 3 >> >> >> >> Avg tests/node: n/a >> # clear msgs: 0 >> >> SNMP test time: 2 >> Test logic time: 0 >> BB msg xfer time: 0 >> This poll period: 2 >> >> Avg poll time: 3.2 seconds >> >> Poll time averaged over 5 poll cycles. >> >> >> >> Fork summary >> Number PID Last checked in Polled Current Activity >> 1 11818 2s ago 1 idle >> 2 11819 2s ago 1 idle >> >> >> >> 3 11820 2s ago 1 idle >> 4 21200 1s ago idle >> 5 21201 1s ago idle >> 6 21202 1s ago idle >> >> >> >> 7 21203 1s ago idle >> 8 21204 1s ago idle >> 9 21205 1s ago idle >> 10 21206 1s ago idle >> >> >> >> bb-hosts configuration: >> >> 1 # >> 2 # Master configuration file for Xymon >> 3 # >> 4 # This file defines several things: >> 5 # >> 6 # 1) By adding hosts to this file, you define hosts that are monitored >> by Xymon >> 7 # 2) By adding "page", "subpage", "group" definitions, you define the >> layout >> 8 # of the Xymon webpages, and how hosts are divided among the >> various webpages >> 9 # that Xymon generates. >> 10 # 3) Several other definitions can be done for each host, see the >> bb-hosts(5) >> 11 # man-page. >> 12 # >> 13 # You need to define at least the Xymon server itself here. >> 14 title Monitor Template >> 15 group <h3>Argus Server</h3> >> 16 10.20.1.30 kunis # DESCR:Server:SYS BBPAGER BBNET BBDISPLAY bbd >> ssh ~http://10.20.1.30/ testip dig >> 22 10.20.6.102 router-teste # testip DEVMON:snmpv3(Mario;MD5;Panza123) >> >> >> Regards, >> >> Mario Panza. >> >> >> >> >> ---------- Forwarded message ---------- >> From: Buchan Milne <bg...@st...> >> Date: Mon, Jul 26, 2010 at 6:50 AM >> Subject: Re: Help with devmon develop >> To: Mario Andre Panza <row...@gm...> >> Cc: dev...@li... >> >> >> On Thursday, 22 July 2010 19:20:04 Mario Andre Panza wrote: >> > Hi Buchan, >> > >> > How are you? >> > >> > I Hope that everything is doing good for you right now. >> > I have good news of the v3 devmon support version. >> > I've decided to use Net_SNMP_util.pm utility and after some hard work, >> > first to discover how the things works and then how SNMP_session works >> > and how they are parsed. >> >> Great! It would be nice to see a patch/svn diff if you have one available. >> >> > In my first release, I'm using only 3 parameters from v3 ( >> > username,password and protocol) and the others can be added with easy >> > changes. >> >> I think for now that should be sufficient for the users with urgent SNMPv3 >> requirements, but other methods (e.g. SSL certificates) would be useful >> later. >> >> > I will clean some code and send to you so you can make tests too. >> >> Cool. >> >> > In Net_SNMP_util.pm the sysUptime is not parsed in seconds, the result >> is >> > already parsed in days HH:MM:SS format. So for example the cpu >> monitoring >> > 'sysuptime' don't work as the previous version. >> > >> > Do you think that already exist a way in devmon to transform it or we >> have >> > to develop? >> >> I'll have a look as soon as you send me a patch, but ideally we would want >> to >> be able to access both transformed and non-transformed values. Otherwise, >> we >> will have to consider adding template versioning and have devmon check >> that >> the templates are up-to-date ... >> >> > I'm asking this because I would like to maintain my cpu uptime >> > monitoring and the new version needs to be compatible with the old one >> > templates, right? >> >> We will definitely want to ensure that all values used in thresholds or >> RRDs >> are maintained or migrated. >> >> Regards, >> Buchan >> >> > > |