Metadata-Version: 2.1
Name: pyLivestatus
Version: 0.1.7
Summary: Python library for Livestatus Integration
Home-page: https://github.com/ElmecOSS/pyLivestatus
Author: Luca Depaoli
Author-email: luca.depaoli@elmec.it
License: MIT
Keywords: pyLivestatus,nagios,nagios socket
Platform: any
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown

# pyLivestatus

This package allows to access [Check MK Livestatus](https://mathias-kettner.de/checkmk_livestatus.html) via python

# Usage

```python
from pyLivestatus import Livestatus

livestatus = Livestatus('127.0.0.1', '6557') # host and port of livestatus socket

livestatus.get_hosts() # return array with details for all hosts
livestatus.get_host('my_host') # return details for host 'my_host'
livestatus.get_services('my_host') # return details for every service of host 'my_host'
```


