paior wrote:
> 
> I will give this a go ASAP and see how we go.

OOPS
Brand new install, added device - tested all OK
made the template change, now I get the below error when I try to view the OS 
graph / information for the IF.

I can rename the template from ppp to ppp2 and it works again...

What am I doing wrong?

***********************************************************

Zenoss Error

An error was encountered while publishing this resource. Please use the form 
below to submit details of this error to Zenoss, Inc. This information helps us 
identify and fix issues with the software, though we are unable to respond 
individually to all submissions.

The Zenoss community forums are very active and a good resource for solving 
problems and answering questions. Zenoss also provides commercial services and 
support packages.

Type: AttributeError
Value: dsnames

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 Products.ZenModel.ZenModelBase, line 66, in __call__
    * 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/viewIpInterface used for 
/zport/dmd/Devices/Network/Router/devices/HLSADL/os/interfaces/ipsec0>
    * 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 677, in do_condition
    * 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 43, Column 4
      Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <IpInterface at 
/zport/dmd/Devices/Network/Router/devices/HLSADL/os/interfaces/ipsec0>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb7267a2c>,
       'here': <IpInterface at 
/zport/dmd/Devices/Network/Router/devices/HLSADL/os/interfaces/ipsec0>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2aff26c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb726ba8c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0xb2aff26c>,
       'request': <HTTPRequest, 
URL=http://monitor.ehls.com.au:8080/zport/dmd/Devices/Network/Router/devices/HLSADL/os/interfaces/ipsec0>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewIpInterface used for 
/zport/dmd/Devices/Network/Router/devices/HLSADL/os/interfaces/ipsec0>,
       '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 413, in getGraphCmds
    * Module Products.ZenModel.ThresholdGraphPoint, line 111, in getGraphCmds
    * Module Products.ZenModel.ThresholdGraphPoint, line 95, in 
getRelatedGraphPoints

AttributeError: dsnames

------------------------
 Jon Paior




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

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

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



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

Reply via email to