Discussion:
Zenos Reports - VMware Utilization
Gowrish SS
2012-10-24 00:28:13 UTC
Permalink
Gowrish SS [http://community.zenoss.org/people/gowrish.ec] created the discussion

"Zenos Reports - VMware Utilization"

To view the discussion, visit: http://community.zenoss.org/message/69445#69445

--------------------------------------------------------------
First, Thank you for your time. Hi I am trying to get reports for VMWareutilization Reports -> VMware -> VMware Utilization and I am getting below error details:

Type: <type 'exceptions.ZeroDivisionError'>
Value: integer division or modulo by zero
Traceback (most recent call last):
  File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish
    request, bind=1)
  File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply
    if debug is not None: return debug(object,args,context)
  File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/opt/zenoss/Products/ZenModel/Report.py", line 106, in __call__
    return template.pt_render(extra_context={'options': kwargs})
  File "/opt/zenoss/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 431, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/opt/zenoss/lib/python/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/opt/zenoss/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/opt/zenoss/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 48, in __call__
    return eval(self._code, vars, {})
  File "PythonExpr", line 1, in <expression>
  File "/opt/zenoss/Products/ZenReports/ReportServer.py", line 105, in plugin
    return instance.run(dmd, args)
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenVMware-1.9.5-py2.7.egg/ZenPacks/zenoss/ZenVMware/reports/plugins/vmware_utilization.py", line 64, in run
    diskPerc = diskUsed * 100 / diskTotal
ZeroDivisionError: integer division or modulo by zero

And I dont see any changes in the system, Can anyone please help.

--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69445#69445]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...