Ticket #3597 (closed defect: invalid)
Perf page display fails with error
Description
Perf page started failing a couple of nights ago, Monday 8/18, I think. Not sure if it's relevant but I had added datapoints for Ping RTA and Loss first at the device level, then went back and added them on the Ethernet template for the Interface level. The device level performance page including the graphs was displaying fine before I added the interface level ones. Both device and interface level graphs displayed OK after I added the interface level. And then boom, the error below occurred. Removing the datapoints did not resolve the issue.
Software Component Versions
Zenoss Zenoss 2.2.3
OS Linux (i686) 2.6.9 (Linux dcas0009.corp.ets-lindgren.com 2.6.9-67.0.22.ELsmp #1 SMP Wed Jul 23 17:30:51 EDT 2008 i686)
Zope Zope 2.8.8
Python Python 2.4.4
Database MySQL 0.0.0 (Ver 0)
RRD RRDtool 1.2.26
Twisted Twisted 2.5.0
NetSnmp NetSnmp 5.4.1
PyNetSnmp PyNetSnmp 0.28.6
WMI Wmi 0.1.12
Error text follows
Type: AttributeError
Value: speed
Traceback (innermost last):
Module ZPublisher.Publish, line 114, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 311, in call Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 195, in _exec Module Products.CMFCore.FSPageTemplate, line 134, in pt_render Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /zport/viewDevicePerformance used for /zport/dmd/Devices/Server/Windows/devices/dcas0001.corp.ets-lindgren.com> Module TAL.TALInterpreter, line 206, in call Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 711, in do_useMacro Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 711, in do_useMacro Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 734, in do_defineSlot Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 734, in do_defineSlot Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 711, in do_useMacro Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 711, in do_useMacro Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 734, in do_defineSlot Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 426, in do_optTag_tal Module TAL.TALInterpreter, line 411, in do_optTag Module TAL.TALInterpreter, line 406, in no_tag Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 651, in do_loop_tal Module Products.PageTemplates.TALES, line 206, in setRepeat Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/viewPerformanceDetail.pt
Line 85, Column 4
Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
Names:{'container': <ZentinelPortal at /zport>,
'context': <Device at /zport/dmd/Devices/Server/Windows/devices/dcas0001.corp.ets-lindgren.com>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb750554c>,
'here': <Device at /zport/dmd/Devices/Server/Windows/devices/dcas0001.corp.ets-lindgren.com>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x8b4f16c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb750a5ac>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x8b4f16c>,
'request': <HTTPRequest, URL=http://dcas0009:8080/zport/dmd/Devices/Server/Windows/devices/dcas0001.corp.ets-lindgren.com/viewDevicePerformance>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/viewDevicePerformance used for /zport/dmd/Devices/Server/Windows/devices/dcas0001.corp.ets-lindgren.com>,
'traverse_subpath': [],
'user': admin}Module Products.PageTemplates.ZRPythonExpr, line 47, in call
traceback_info: here.getDefaultGraphDefs(drange=drange) Module Python expression "here.getDefaultGraphDefs(drange=drange)", line 1, in <expression> Module Products.ZenModel.RRDView, line 202, in getDefaultGraphDefs Module Products.ZenModel.RRDView, line 64, in getGraphDefUrl Module Products.ZenModel.PerformanceConf, line 233, in performanceGraphUrl Module Products.ZenModel.GraphDefinition, line 427, in getGraphCmds Module Products.ZenModel.ThresholdGraphPoint, line 111, in getGraphCmds Module Products.ZenModel.MinMaxThreshold, line 90, in createThresholdInstance Module Products.ZenModel.MinMaxThreshold, line 110, in getMaxval Module Products.ZenUtils.ZenTales, line 33, in talesEval Module Products.PageTemplates.ZRPythonExpr, line 47, in call
traceback_info: here.speed / 8 * .75 Module Python expression "here.speed / 8 * .75", line 1, in <expression> AttributeError: speed