I have added a few Tru64 hosts to my Zenoss install. The default template that 
it pulled in is the Device template. How ever, no graphs are generated by 
default on this. To correct this I have bound the ethernetCmsacd to this graph. 
When I attempt to add view the device graphs after this I end up with an error. 
As this system is not directly connected to the internet I cannot submit the 
report to the proper place. 
Until I can find a solution to this I am creating a custom template to work 
arround this issue. 

Below is the error code that is generated.


Code:

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/Discovered/devices/cipher02.dish>
    * 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 79, Column 4
      Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <Device at 
/zport/dmd/Devices/Discovered/devices/cipher02.dish>,
       'default': <Products.PageTemplates.TALES.Default instance at 
0x2aaab458bbd8>,
       'here': <Device at /zport/dmd/Devices/Discovered/devices/cipher02.dish>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xfb47908>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x2aaab458bfc8>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xfb47908>,
       'request': <HTTPRequest, 
URL=http://192.168.1.4:8080/zport/dmd/Devices/Discovered/devices/cipher02.dish/viewDevicePerformance>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewDevicePerformance used for 
/zport/dmd/Devices/Discovered/devices/cipher02.dish>,
       'traverse_subpath': [],
       'user': mosburn}

    * 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 219, in performanceGraphUrl
    * Module Products.ZenModel.GraphDefinition, line 426, 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







-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=21762#21762

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to