Photon
2013-10-02 17:27:42 UTC
Photon [http://community.zenoss.org/people/Photon] created the discussion
"Device Issues Portlet blank"
To view the discussion, visit: http://community.zenoss.org/message/74819#74819
--------------------------------------------------------------
Hi every1,
 We've had an issue with the device issues portlet ever since we installed 4.2.4 and the SP71 patch. The porlet is now blank. We tried to follow its source code to see where it would lead us. In */opt/zenoss/Products/ZenWidgets/browser/Portlets.py,* we found these lines (inside getDeviceDashboard method which is called by getDeviceIssuesJSON) :
*zep = getFacade('zep')*
*...*
*deviceSeverities = zep.getDeviceIssuesDict()*
By using zendmd and executing these lines :
*from Products.Zuul import getFacade*
*zep = getFacade('zep')*
*deviceSeverities = zep.getDeviceIssuesDict()*
*deviceServerities.viewitems()*
we get an empty dict. On the other hand, using *zep.getEventSummariesGenerator()*, we can extract all current events.
The Root Organizer portlet isn't empty and extracts correctly events.
Any idea on why we're having this issue ?
Thanks in advance.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74819#74819]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Device Issues Portlet blank"
To view the discussion, visit: http://community.zenoss.org/message/74819#74819
--------------------------------------------------------------
Hi every1,
 We've had an issue with the device issues portlet ever since we installed 4.2.4 and the SP71 patch. The porlet is now blank. We tried to follow its source code to see where it would lead us. In */opt/zenoss/Products/ZenWidgets/browser/Portlets.py,* we found these lines (inside getDeviceDashboard method which is called by getDeviceIssuesJSON) :
*zep = getFacade('zep')*
*...*
*deviceSeverities = zep.getDeviceIssuesDict()*
By using zendmd and executing these lines :
*from Products.Zuul import getFacade*
*zep = getFacade('zep')*
*deviceSeverities = zep.getDeviceIssuesDict()*
*deviceServerities.viewitems()*
we get an empty dict. On the other hand, using *zep.getEventSummariesGenerator()*, we can extract all current events.
The Root Organizer portlet isn't empty and extracts correctly events.
Any idea on why we're having this issue ?
Thanks in advance.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74819#74819]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]