I seem to be missing something here.
After adding the data point time I can see that I am collecting data in
an rrd file and can graph at command line with rrdtool.
How do you add a graph in zenoss?
Currently I get the following error when adding graph in the same perf conf tab 
as where data source was defined.
 Type: ValueError
Value: need more than 1 value to unpack

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/Linux/devices/linux2.dbonenet.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 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 41, Column 4
      Expression: <PythonExpr here.getDefaultGraphs(drange=drange)>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <Device at 
/zport/dmd/Devices/Server/Linux/devices/linux2.dbonenet.com>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb774bbac>,
       'here': <Device at 
/zport/dmd/Devices/Server/Linux/devices/linux2.dbonenet.com>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xbd4ac6c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb774ec0c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xbd4ac6c>,
       'request': <HTTPRequest, 
URL=http://linux2.dbonenet.com:8080/zport/dmd/Devices/Server/Linux/devices/linux2.dbonenet.com/viewDevicePerformance>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewDevicePerformance used for 
/zport/dmd/Devices/Server/Linux/devices/linux2.dbonenet.com>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.getDefaultGraphs(drange=drange)
    * Module Python expression "here.getDefaultGraphs(drange=drange)", line 1, 
in <expression>
    * Module Products.ZenModel.RRDView, line 172, in getDefaultGraphs
    * Module Products.ZenModel.RRDView, line 49, in getRRDGraphUrl
    * Module Products.ZenModel.PerformanceConf, line 209, in performanceGraphUrl
    * Module Products.ZenModel.RRDGraph, line 123, in graphOpts
    * Module Products.ZenModel.RRDGraph, line 184, in buildDS
    * Module Products.ZenModel.RRDDataPoint, line 155, in graphOpts

------------------------
alan gagne




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

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

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



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

Reply via email to