Python library for Livestatus Integration
Project description
# 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'
```
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'
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyLivestatus-0.1.3.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pyLivestatus-0.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb65cf5e21c5381c681fa0bac94efe95fdf440d628768f7a3b44f19cf1e98fe5 |
|
MD5 | 3b0ca03c54cfceed5c4f7c9e0c6774cf |
|
BLAKE2b-256 | 7bc237908c1af84ea438855c225b3e8739000a2e26f1cd05071b2779be88a9bb |