I'm trying to call updateDevice(self, **kwargs) via REST. And it just doesn't work. Tried passing kwargs=blah, kwargs:list:blah=blah2, everything! Could you tell me, please, what's the correct way of passing the parameters I want to update?
What version of Zenoss are you using? The XML interface that acts on URL's is quite quirky and from what I understand its not the supported method of interacting with Zenoss going forward. If you're using >= 3.0 I would suggest using the JSON API, its much cleaner and easier to interact with Zenoss via this method. You can use any programming language you like and foremost there is better documentation on the subject.
Zenoss JSON API Docs ( includes examples for Java and Python ):
Zenoss PERL interface to the API:
Thanks, that's what I did after posting the question. But there's a problem with JSON API - it's poorly documented (auto-generated docs) and there's no way to do bare minimum, like add a new collector plugin to the list of plugins, there's no way to retrieve and set Z properties.
We're running ZenOSS 3.1.0.
I've been able to complete my programming project for my organization with the following Zenoss patches.
zenpatch 26160 zopectl restart
zenpatch 26166 zopectl restart
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.