Skip to main content

Zenoss API client for python

Project description


PyPI version Build Status

Zenoss API client for python


pip install python-zenoss-client


  • Connect
from zenoss_client import ZenossClient

api = ZenossClient(host="localhost", user="zenuser", passwd="*****")
  • API call: The long way
endpoint = api.endpoint('device_router')
action = endpoint.action('DeviceRouter')
method = action.method('getDevices')

method(params={'name': 'testdevice'})
  • API call: The sorter way
api.endpoint('device_router').action('DeviceRouter').method('getDevices')(params={'name': 'testdevice'})
  • API call: The sortest way
api.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'})
  • With timeout
api.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'}, timeout=10)


This module is inspired by SHELL script published on zenoss official wiki

For full documentation of zenoss API, kindly refer to the link below:

zenoss official documentation

  • Conventional naming of routers
Products.Zuul.routers.device -> device_router
Products.Zuul.routers.users -> users_router
Products.Zuul.routers.triggers -> triggers_router

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-zenoss-client-1.0.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

python_zenoss_client-1.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page