icinga2api is a Python module to interact with the Icinga 2 RESTful API.
- Code cleanup
- Tests
- Configuration Management
See the doc directory.
python icinga2 api client
License: BSD 2-Clause "Simplified" License
icinga2api is a Python module to interact with the Icinga 2 RESTful API.
See the doc directory.
Is there some reason to close session after each request? It seems that keeping session (for example in Client class instance) will greatly improve performance.
When I try to pip install python-icinga2api
I run into this issue
Collecting python-icinga2api
Downloading python-icinga2api-0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/setup.py", line 25, in <module>
long_description=read('README.md'),
File "/private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/setup.py", line 13, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: '/private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/README.md'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/
I am using pip version 9.0.1 on python 2.7. Looks like a packaging issue
The pip package is not installable on a Debian Jessie system and the following environment:
Python version: 3.4.2
Debian Packages: python3, python3-virtualenv
virtualenv --version: 1.11.6
How to reproduce:
apt-get install python3 python3-virtualenv
virtualenv -p python3 v1
source v1/bin/activiate
pip install python-icinga2api
Expected result:
Successful installation
Actual result:
Python error message:
Collecting python-icinga2api
Using cached python-icinga2api-0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-amltcudf/python-icinga2api/setup.py", line 25, in <module>
long_description=read('README.md'),
File "/tmp/pip-build-amltcudf/python-icinga2api/setup.py", line 13, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-amltcudf/python-icinga2api/README.md'
python-icinga2api still refers to v0.3 that does not support python3. Can you please update it to latest?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.