FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

python-zenoss/README.md at master · oneautomate/python-zenoss · GitHub

Latest commit

 

History

History
35 lines (24 loc) · 539 Bytes

File metadata and controls

35 lines (24 loc) · 539 Bytes

python-zenoss

Python module to work with the Zenoss JSON API

Installation

PyPi

pip install zenoss

Manually

python setup.py test
python setup.py build
sudo python setup.py install

Usage

List all devices in Zenoss

from zenoss import Zenoss

zenoss = Zenoss('http://zenoss:8080/', 'admin', 'password')

for device in zenoss.get_devices()['devices']:
    print(device['name'])

Back | FazBrowse Home | New Git URL