This is a fork from iamseth project. I'll try to update and fix issues.
Python module to work with the Zenoss JSON API
pip install zenoss
python setup.py test
python setup.py build
sudo python setup.py install
from zenoss import Zenoss
zenoss = Zenoss('http://zenoss:8080/', 'admin', 'password')
for device in zenoss.get_devices()['devices']:
print(device['name'])