Strugling here. Been searching for an answer with no luck. Error seems to be
only affecting perf graphs under /Server. Graphs under Network appear without
error.
CentOS 5.1
Zenoss 2.1.2
Type: AttributeError
Value: totalBlocks
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/devices/kickstart.uptilt.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 46, Column 4
Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
Names:
{'container': <ZentinelPortal at /zport>,
'context': <Device at
/zport/dmd/Devices/Server/devices/kickstart.uptilt.com>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb769288c>,
'here': <Device at
/zport/dmd/Devices/Server/devices/kickstart.uptilt.com>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x1152138c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb76998ec>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x1152138c>,
'request': <HTTPRequest,
URL=http://10.0.254.222/zport/dmd/Devices/Server/devices/kickstart.uptilt.com/viewDevicePerformance>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/viewDevicePerformance used for
/zport/dmd/Devices/Server/devices/kickstart.uptilt.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 206, in getDefaultGraphDefs
* Module Products.ZenModel.RRDView, line 68, in getGraphDefUrl
* Module Products.ZenModel.PerformanceConf, line 208, in performanceGraphUrl
* Module Products.ZenModel.GraphDefinition, line 412, in getGraphCmds
* Module Products.ZenModel.ThresholdGraphPoint, line 115, in getGraphCmds
* Module Products.ZenModel.MinMaxThreshold, line 85, in
createThresholdInstance
* Module Products.ZenModel.MinMaxThreshold, line 105, in getMaxval
* Module Products.ZenUtils.ZenTales, line 33, in talesEval
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: here.totalBlocks * .9
* Module Python expression "here.totalBlocks * .9", line 1, in <expression>
AttributeError: totalBlocks
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=14854#14854
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users