Module: check_mk
Branch: master
Commit: 34ed095b405139486d5708a3a8ab7bb2524f2e74
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=34ed095b405139…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Aug 11 18:32:04 2014 +0200
#1096 New WATO webservices: manage hosts via webinterface
It is now possible to manage hosts via web requests<br>
This includes the following operations
<ul>
<li>Add host</li>
<li>Edit host</li>
<li>Delete host</li>
<li>Get host attributes</li>
<li>Host service discovery</li>
<li>Activate changes</li>
</ul>
These operations also work in a distributed environment. You can find more information
regarding these web request in the <tt>Roles & Permissions</tt> page under
a roles settings.
There is a new permission topic <tt>Web API</tt> where you can configure the
permission
of all available API requests. The help texts for these permissions provide some useful
examples.
In the near future, there will be a "Howto Web-API" article in our online
documentation, too.
---
.werks/1096 | 26 ++
ChangeLog | 2 +
mkeventd/web/plugins/wato/mkeventd.py | 4 +-
web/htdocs/dashboard.py | 2 +-
web/htdocs/index.py | 2 +-
web/htdocs/lib.py | 37 ++
web/htdocs/views.py | 4 +-
web/htdocs/wato.py | 713 +++++++++++++++++++++-----------
web/htdocs/webapi.py | 153 +++++++
web/plugins/pages/shipped.py | 3 +
web/plugins/sidebar/wato.py | 4 +-
web/plugins/views/wato.py | 4 +-
web/plugins/wato/builtin_attributes.py | 2 +-
web/plugins/wato/userdb.py | 2 +-
web/plugins/webapi/webapi.py | 174 ++++++++
15 files changed, 868 insertions(+), 264 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=34ed095b40…