Skip navigation
9362 Views 12 Replies Latest reply: Jan 11, 2012 8:47 AM by zenorr RSS
Shane Scott ZenossMaster 1,373 posts since
Jul 6, 2009
Currently Being Moderated

Jun 4, 2011 2:36 PM

IP SLA v3 for Zenoss 2.5.x/3.x

IP  SLA Enumeration & Monitoring v3 for Zenoss is here!. This new  version includes tons of new features, bug fixes, and significantly  improved performance over past versions. Version 3 implements a new  dedicated daemon, zensla, to collect SLA information from hosts. The  introduction of said daemon also improves compatibility with remote  collector situations and code compatibility with Zenoss core,  helping  to avoid code breakage with the advent of new Zenoss patches.

Download ZenPacks.ShaneScott.ipSLA-3.0-py2.4.egg

Download ZenPacks.ShaneScott.ipSLA-3.0-py2.6.egg

 

Please report bugs in the forum or contact me :-)

http://ShaneWilliamScott.com

 

New features include:

  • Complete spectrum of compatibility - works with Zenoss 2.5.x, 3.x, and code compatible with Avalon β4
  • Daemonized collection utilizing Twisted framework
  • Remote SLA host management
  • Improved templates and modeling

 

Zenoss v2/3 model including ZenSLA

  • James Stewart Rank: Green Belt 91 posts since
    Dec 1, 2010
    Currently Being Moderated
    2. Jul 4, 2011 1:30 AM (in response to Shane Scott)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    Hi Shane, thanks again for this Zenpack.

     

    As discussed in irc the other night, I've noticed a bug when attempting to add IP SLA monitoring to an existing device class (/Network/Router/Cisco). Due to other constraints, I need to have all of my Cisco routers in this device class, so cannot permanently move them to /Network/IPSLA.

     

    Just to be clear, placing a new device myrouter.mydomain.net in /Devices/Network/IPSLA worked first time, with the various IPSLAs detected and graphed correctly.

     

    To set up IPSLA monitoring on routers under /Network/Router/Cisco, I have set the zPythonClass of this device group to ZenPacks.ShaneScott.ipSLA.SLADevice and I've also added SLADevice to the device group's Modeler Plugins.

     

    Next I deleted myrouter.mydomain.net from Zenoss and re-added/modelled it under /Network/Router/Cisco. The modelling appears to work correctly as I now see my SLAs listed under Components. However when I try to look at the graphs for these, nothing is rendering in the bottom pane where the graphs should be. I can see that it is attempting to load an iframe, but the iframe is empty:

     

    zenoss_ipsla.png

     

    Also I noticed that there is no IPSLA data being gathered /opt/zenoss/perf/Devices/myrouter.mydomain.net after the process above.

     

    So, I'm not sure if having IPSLA monitoring in /Network/Router/Cisco is possible, but if there is some way to fix this it'd be great.

     

    Cheers,

     

    James

  • James Stewart Rank: Green Belt 91 posts since
    Dec 1, 2010
    Currently Being Moderated
    4. Aug 17, 2011 12:00 AM (in response to Shane Scott)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    Hi Shane,

     

    I know you've been busy with the Zenoss Community work but did you have any luck with this?

     

    Cheers,

     

    James

  • James Stewart Rank: Green Belt 91 posts since
    Dec 1, 2010
    Currently Being Moderated
    6. Aug 28, 2011 6:31 PM (in response to Shane Scott)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    Fantastic Shane, thanks for the update...:-)

  • kchengva Rank: White Belt 66 posts since
    Aug 4, 2010
    Currently Being Moderated
    7. Sep 15, 2011 4:51 PM (in response to Shane Scott)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    Scott,

     

    Good job!

     

    I am testing it on zenoss 3.1.0 and only interesting in ip sla jitter area, it works well.

     

    Question, I see a "View SLAs" there, is it any purpose for? if you click the one instance, it keeps cascade the screens. I think the "old" version shows the parameter values of the instance. Now this feature you put it is at "SLAS" display "detail". Would it be possible to format them as a table like it was in old version? Thanks!

     

    Regards,

     

    Kevin

  • zenorr Rank: White Belt 67 posts since
    May 6, 2010
    Currently Being Moderated
    8. Jan 11, 2012 4:32 AM (in response to Shane Scott)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    Hi Shane,

     

    Soon after a Zenoss restart or a zensla restart, it reports a "zensla heartbeat failure" event. Despite this error, it seem to do its job, and the graphs shows no sign of polling issue.

     

    The zensla.log mention nothing special :

     

    2012-01-11 01:43:36,960 INFO zen.zensla: ******** Cycle completed ********

    2012-01-11 01:43:36,960 INFO zen.zensla: Sent 417 OID requests

    2012-01-11 01:43:36,961 INFO zen.zensla: Queried 601 devices

    2012-01-11 01:43:36,961 INFO zen.zensla:   0 in queue still unqueried

    2012-01-11 01:43:36,961 INFO zen.zensla:   Successes: 595  Failures: 0  Not reporting: 6

    2012-01-11 01:43:36,962 INFO zen.zensla: Waited on 12 queries from previous cycles.

    2012-01-11 01:43:36,962 INFO zen.zensla:   Successes: 0  Failures: 0  Not reporting: 12

    2012-01-11 01:43:36,962 INFO zen.zensla: Cycle lasted 300.00 seconds

    2012-01-11 01:43:36,963 INFO zen.zensla: *********************************

     

    This issue is not new, has been there since the beginning. We use ZenPacks.ShaneScott.ipSLA 3.0.

     

    Any idea ?

    TIA,

    Charles

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    9. Jan 11, 2012 7:54 AM (in response to zenorr)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    Have you tried clearing your heartbeats?

     

    --

    James Pulver

    ZCA Member

    LEPP Computer Group

    Cornell University

  • zenorr Rank: White Belt 67 posts since
    May 6, 2010
    Currently Being Moderated
    10. Jan 11, 2012 8:09 AM (in response to jmp242)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    you mean clearing my events, yes, but clearing the heartbeat ? Where do I find this ?

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    11. Jan 11, 2012 8:30 AM (in response to zenorr)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    See: https://zcaportal.org/wiki/bin/view/ZCA/ZCAFAQ#How_do_I_stop_Heartbeat_errors_63

     

    --

    James Pulver

    ZCA Member

    LEPP Computer Group

    Cornell University

  • zenorr Rank: White Belt 67 posts since
    May 6, 2010
    Currently Being Moderated
    12. Jan 11, 2012 8:47 AM (in response to jmp242)
    Re: IP SLA v3 for Zenoss 2.5.x/3.x

    found, cleared and now everything is OK. Thanks James !!!

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points