Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 199227 Views 23 Replies Latest reply: Dec 16, 2009 6:49 PM by Matt Ray RSS Go to original post
  • nelliott Rank: Green Belt 83 posts since
    Sep 10, 2009
    Currently Being Moderated
    16. Nov 29, 2009 11:15 AM (in response to vitaly_il)
    Re: Nagios-like "Alert Histogram"  - how to get it?

    I may have located the template improperly.  My reasoning for that location is that this pack only provides a single graph, showing the total of all events for all devices.  I think that if I had put the template in the /Devices section, it would have caused it to be bound to all devices and created the same graph in the "Perf" section of each device.  I was unsure about putting it in /Devices/Server/Linux/localhost, but I opted to use that to start with.

     

    I created a second ZenPack that might be what you are wanting; it creates individual graphs for each device.  I'm attaching it here for you to try out if you like.  I haven't uploaded it to the ZenPack section yet as I experienced an issue where it did not bind to all of my devices properly.  I had to go into the template section and rebind it for some device sub-types.  If you try it out, could you please let me know if it binds properly to all your devices?

  • dbuck Rank: Green Belt 119 posts since
    Jul 22, 2008
    Currently Being Moderated
    18. Nov 30, 2009 8:58 AM (in response to vitaly_il)
    Re: Nagios-like "Alert Histogram"  - how to get it?

    hello vitaly,

     

    first unpack the zip-file, then use zenpack --install /tmp/ZenPacks.community.EventGraph.BySeverity-1.0-py2.4.egg.


    Regards

     

    dbuck

  • dbuck Rank: Green Belt 119 posts since
    Jul 22, 2008
    Currently Being Moderated
    19. Nov 30, 2009 9:20 AM (in response to nelliott)
    Re: Nagios-like "Alert Histogram"  - how to get it?

    Hello nelliott,

     

    nice shot ...

     

    thanks for the great work ...

     

    it works well for me on a rPath VMware-Appliance Zenoss 2.5.1.

     

    Maybe some changes for the Graphpoints make it more readable ...

     

    Changing the Field: "Format" for the given Graph-Points (CLEAR,DEBUG,INFO,WARNING,ERROR,CRTICAL) to "%.lf" without the "%s" to draw integer Values to the Graph.

     

    it binds not properly, because it is a general Zenoss-Issue based on not inherit bindings when local copy's of a template binded to a device.

     

    I bind the leaving rest manually...

     

    Thanks and Regards

     

    dbuck

  • nelliott Rank: Green Belt 83 posts since
    Sep 10, 2009
    Currently Being Moderated
    20. Nov 30, 2009 2:45 PM (in response to dbuck)
    Re: Nagios-like "Alert Histogram"  - how to get it?

    Excellent suggestion on the graph point field, thank you.  I changed it to "%.lf"

     

    I updated the zenpack to include both "All Event" graph in /devices/server/linux/localhost and individual graphs for each device.

     

    docs/DOC-4538

  • Matt Ray Rank: Zen Master 2,484 posts since
    Apr 5, 2008
    Currently Being Moderated
    23. Dec 16, 2009 6:49 PM (in response to vitaly_il)
    Re: Nagios-like "Alert Histogram"  - how to get it?

    I've made a couple of changes to the ZenPack and updated it.  It's now checked into Subversion and called the Event Histograms ZenPack.  It now provides 2 templates:


    All Events - this template is in /Devices/Server that should be bound to the Zenoss server and provides a graph of all events being processed by the Zenoss server.  I moved it off of localhost and down to /Server so it could be used with non-Linux servers not named localhost.

     

    Device Events - this template in /Devices that may be bound to any device class or device and provides a graph of all events against the individual device.

     

    Thanks Nathan!

1 2 Previous Next

More Like This

  • Retrieving data ...

Legend

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