brennerm / Check Mk Web Api
Licence: mit
Python library to talk to the Check_Mk Web API
Stars: ✭ 44
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Check Mk Web Api
Pizzly
The simplest, fastest way to integrate your app with an OAuth API 😋
Stars: ✭ 796 (+1709.09%)
Mutual labels: api-wrapper
Bitskinsapi
A wrapper for the BitSkins API, build on .NET Standard 2.0
Stars: ✭ 13 (-70.45%)
Mutual labels: api-wrapper
Nem Php
NEM Blockchain NIS API Wrapper and Software Development Kit for PHP
Stars: ✭ 32 (-27.27%)
Mutual labels: api-wrapper
Rscorecard
R wrapper for U.S. Department of Education College Scorecard Data API
Stars: ✭ 17 (-61.36%)
Mutual labels: api-wrapper
Stashapicsharp
[Atlassian] Bitbucket Server/Stash API wrapper built in C#
Stars: ✭ 28 (-36.36%)
Mutual labels: api-wrapper
Rapid.js
An ORM-like Interface and a Router For Your API Requests
Stars: ✭ 700 (+1490.91%)
Mutual labels: api-wrapper
Last.fm Api
Last.fm API wrapped into a bunch of classes. Built with OkHttp, Retrofit2, RxJava2.
Stars: ✭ 41 (-6.82%)
Mutual labels: api-wrapper
Steamapi
A PHP wrapper for interacting with Valve's Steam Community.
Stars: ✭ 25 (-43.18%)
Mutual labels: api-wrapper
Aiomixcloud
Mixcloud API wrapper for Python and Async IO
Stars: ✭ 23 (-47.73%)
Mutual labels: api-wrapper
Apipie
Transform api declaration to js object for frontend. Inspired by VueRouter, koa-middleware and axios.
Stars: ✭ 29 (-34.09%)
Mutual labels: api-wrapper
Py3 Canvaslms Api
Python 3 API wrapper for Instructure's Canvas LMS with real-world examples of use
Stars: ✭ 16 (-63.64%)
Mutual labels: api-wrapper
Golang Tmdb
This is a Golang wrapper for working with TMDb API. It aims to support version 3.
Stars: ✭ 36 (-18.18%)
Mutual labels: api-wrapper
Java Ovh
Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing
Stars: ✭ 15 (-65.91%)
Mutual labels: api-wrapper
Plyer
Plyer is a platform-independent Python wrapper for platform-dependent APIs
Stars: ✭ 949 (+2056.82%)
Mutual labels: api-wrapper
check-mk-web-api
supported Checkmk versions
- 1.6.0
- 1.5.0
Installation
- From source code
git clone https://github.com/brennerm/check-mk-web-api
cd check-mk-web-api
sudo python setup.py install
- With pip
pip install check_mk_web_api
API Documentation
Quickstart
Initialization
import check_mk_web_api
api = check_mk_web_api.WebApi('http://checkmk.company.com/check_mk/webapi.py', username='automation', secret='123456')
Add Host
>>> api.add_host('webserver00.com')
Add Host in an existing WATO folder
>>> api.add_host('webserver00.com', folder='webservers')
Note there is no leading '/' on the folder name.
Edit Host
>>> api.edit_host('webserver00.com', ipaddress='192.168.0.100')
Delete Host
>>> api.delete_host('webserver00.com')
Delete Hosts
>>> api.delete_hosts(['webserver00.com', 'webserver01.com' ])
Get Host
>>> api.get_host('webserver00.com')
{
'hostname': 'webserver00.com',
'attributes': {
'ipaddress': '192.168.0.100'
},
'path': ''
}
Get All Hosts
>>> api.get_all_hosts()
{
'webserver00.com': {
'hostname': 'webserver00.com',
'attributes': {
'ipaddress': '192.168.0.100'
},
'path': ''
},
'webserver01.com': {
'hostname': 'webserver01.com',
'attributes': {
'ipaddress': '192.168.0.101'
},
'path': ''
}
}
Discover Services
>>> api.discover_services('webserver00.com')
{'removed': '0', 'new_count': '16', 'added': '16', 'kept': '0'}
Bake Agents
>>> api.bake_agents()
Activate Changes
>>> api.activate_changes()
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].