TECHZEN Zenoss User Community ARCHIVE  

ZenOSS 4.2.5 Exporting Event Data Not Working

Subject: ZenOSS 4.2.5 Exporting Event Data Not Working
Author: [Not Specified]
Posted: 2015-11-13 06:50

Hello,

When I export data from the event console to a comma-separated value (.csv) file with an user without assigned rol, I see the next error:

"can`t find the file at http://IP_ZenOSS/zport/dmd/Events/Export"

The default admin role that this user have for administered objects associated with him is ZenUser.

However, when I try with admin user or an user with assign rol, I can export data properly.

Could anybody help me, please

Thanks



Subject: Zenuser may be restricted and
Author: Andrew Kirch
Posted: 2015-11-16 13:47

Zenuser may be restricted and is simply getting a less than useful error message.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Thank you for the comment!
Author: [Not Specified]
Posted: 2015-11-17 02:35

Thank you for the comment!

I have configured necessary permissions in /zport/manage_access.

When the user havent assigned rol and the default admin role that the user have for administered objects associated with him is ZenManager or Manager, the same applies.

For more information, when I try to export event data with an user without assigned rol, I see the next error in event.log

ERROR Zope.SiteErrorLog 1447684894.810.264790278899 http://IP_ZenOSS:8080/zport/dmd/Events/export
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.ZenUI3.browser.eventconsole.export, line 43, in __call__
Module Products.ZenUI3.browser.eventconsole.export, line 82, in csv
Module Products.ZenUI3.browser.eventconsole.export, line 58, in _query
Module Products.Zuul.routers.zep, line 410, in queryGenerator
AttributeError: 'str' object has no attribute 'get'

Have you any idea for this

Thank you for the comments.



Subject: I'm assuming you're still
Author: Andrew Kirch
Posted: 2015-11-17 12:37

I'm assuming you're still hitting a permissiosn error.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Zenoss Core 5 - OpenTSDB Naming Schema - Need documentation and can metrics be ...
  Next
Zenoss 4.2.4 - Turn off devices when an event is triggered?
>