Jun 16, 2010 11:42 AM
Updated Availabilty per Group Report ZenPack
-
Like (0)
I have had a go at updating this ZenPack so you can specify group, system, location or deviceclass as filters for the report. You can find it at docs/DOC-5899 .
I have found an issue today whereby the standard performance availability has stopped working:
Update to this. I am finding that the standard Reports -> Performance Reports -> Availability Report sometinmes doesn't work. It's OK until you have run the new report; then the standard report produces an error: Type: TypeError Traceback (innermost last): * Module ZPublisher.Publish, line 119, in publish {'container': <Report at /zport/dmd/Reports/Performance Reports/Availability Report>, * Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__ TypeError: __init__() got an unexpected keyword argument 'systems' Neither the standard Products/ZenEvents/Availabilty.py nor the standard Products/ZenReports/Performance_Reports/Availability_Report.rpt has changed. I believe it us to do with cacheing. If you wait a while or bounce zopectl, then the standard report runs again. Any ideas? Cheers, Jane
Value: __init__() got an unexpected keyword argument 'systems'
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module Products.ZenModel.Report, line 93, in __call__
* Module Products.PageTemplates.ZopePageTemplate, line 427, in pt_render
* Module Products.PageTemplates.PageTemplate, line 98, in pt_render
* Module zope.pagetemplate.pagetemplate, line 115, in pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
* Module zope.tales.tales, line 696, in evaluate
URL: /zport/dmd/Reports/Performance Reports/Availability Report/Availability Report
Line 1, Column 0
Expression: <PythonExpr zem.getAvailability(tableState)>
Names:
'context': <Report at /zport/dmd/Reports/Performance Reports/Availability Report>,
'default': <object object at 0xb7bad538>,
'here': <Report at /zport/dmd/Reports/Performance Reports/Availability Report>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa15736c>,
'request': <HTTPRequest, URL=http://zenoss:8080/zport/dmd/Reports/Performance%20Reports/Availability%20Report>,
'root': <Application at >,
'template': <ZopePageTemplate at /zport/dmd/Reports/Performance Reports/Availability Report/Availability Report>}
__traceback_info__: zem.getAvailability(tableState)
* Module PythonExpr, line 1, in <expression>
* Module Products.ZenEvents.EventManagerBase, line 1054, in getAvailability
* Module Products.ZenEvents.Availability, line 294, in query
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||