Thank you!
I installed your zenpack. Unfortunately, it installs template under
And I'm really ashamed, but I cannot understand how to move this template to /Device level.
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?
I got this error:
[zenoss@zenoss ~]$ zenpack --install /tmp/ZenPacks.community.EventGraph.BySeverity-1.0-py2.4.egg.zip
Traceback (most recent call last):
File "/home/zenoss/Products/ZenUtils/zenpack.py", line 392, in ?
zp.run()
File "/home/zenoss/Products/ZenUtils/zenpack.py", line 149, in run
os.makedirs(skinsSubdir, 0750)
File "/usr/lib/python2.4/os.py", line 156, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 20] Not a directory: '/home/zenoss/Products/ZenPacks.community.EventGraph.BySeverity-1.0-py2.4.egg/skins'
hello vitaly,
first unpack the zip-file, then use zenpack --install /tmp/ZenPacks.community.EventGraph.BySeverity-1.0-py2.4.egg.
Regards
dbuck
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
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.
nelliot, thank you again!
I installed your zenpack, binded your template for all relevant devices and created multi-graph reports which present warnings/errors for all my production devices (I omitted clean/info/debug severety events in order to make this graph clean).
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!
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||