Hi,
Am 31.08.2015 um 08:38 schrieb jacques.min...@drv-bund.de:
Hi Michael,
thanks for this full information !
See you soon at the OSMC :-)
Your question led to an entire update (hi Bernd) which resulted in a yet
more detailed blog post:
https://www.icinga.org/2015/09/02/icinga-2-api-updates/
OSMC will be great, especially the hackathon on thursday :)
Cheers,
Michael
Jacques Mineur
________________________________
Deutsche Rentenversicherung Bund
Von: Michael Friedrich <michael.friedr...@netways.de>
An: <icinga-users@lists.icinga.org>,
Datum: 29.08.2015 10:35
Betreff: Re: [icinga-users] Antwort: Re: Antwort: Re: Icinga-web 2 and
ido ?
Gesendet von: "icinga-users" <icinga-users-boun...@lists.icinga.org>
Hi,
Am 24.08.2015 um 15:51 schrieb jacques.min...@drv-bund.de:
Hi Eric,
you speak from a new API in the core 2.4
What are the differences between this new API and Livestatus ?
Not sure if you really can compare a REST API with the livestatus
interface.
One thing you might consider important: livestatus only allows the user
to retrieve status information of objects (and adds a quirky way of
sending external commands using the old crappy format like
COMMANDNAME;hostname;service;foo;1;0;x - tell me what 0 does?). Further
it listens on a unix socket without additional security layers.
The Icinga 2 API is designed to allow creation, modification and
deletion of objects at runtime, including persisting new objects and
changes on disk (and inside its cluster).
Next to that there are specific API endpoints available, such as
/v1/actions which provide the tasks to reschedule a check for all
services in a NOT-OK state for example. You can use the very same filter
syntax as known from service apply rule expressions, e.g.
?filter=match("nbmif*",host.name).
There's also a configuration management interface implemented serving as
interface to the upcoming configuration tool as Icinga Web 2 module.
Well, and lately we will also look into event streams filtered by
certain conditions.
Authentication happens either using HTTP basic auth or x509 client
certificates. Keep in mind that there won't be extensive permission
levels (only read-only, certain actions allowed, etc) as this API is
considered to be a flexible programmatic one, but does not compete with
Icinga Web 2's API in this regard (where you'll have your permission
system in place already, e.g. ad groups).
At the time of writing, we're currently developing the final stages of
runtime configuration (modified attributes, cluster sync), status
queries and events are next.
https://dev.icinga.org/projects/i2/issues?query_id=47
Blog updates on this topic will follow once everything (url schema,
actions, etc) is settled. Documentation is being written but neither
complete nor final (!):
http://docs.icinga.org/icinga2/snapshot/doc/module/icinga2/chapter/icinga2-api#icinga2-api
Bernd recently posted some examples in the Icinga Camp bulletin:
http://us8.campaign-archive1.com/?u=b791f3f89c2aa4ce5e741f273&id=c14e140b1b&e=bb93ecc406
We will talk about the API progress at Icinga Camp Portland
(https://www.icinga.org/community/events/icinga-camp-portland/talks/)
and also at OSMC (https://www.netways.de/?id=3218&L=1) later this year.
In case you want to follow the development closely, subscribe to
Icinga's social media channels (Twitter, FB) or check the activity on
dev.icinga.org and the git repository.
Have a nice weekend!
Michael
Will it be an API to the IDO DB like the REST API from Icinga-Web 1 ?
based
on HTTP ?
Thanks
Jacques Mineur
________________________________
Deutsche Rentenversicherung Bund
Von: Eric Lippmann <eric.lippm...@netways.de>
An: "icinga-users@lists.icinga.org"
<icinga-users@lists.icinga.org>,
Datum: 24.08.2015 13:44
Betreff: Re: [icinga-users] Antwort: Re: Icinga-web 2 and ido ?
Gesendet von: "icinga-users" <icinga-users-boun...@lists.icinga.org>
Hi Jacques,
We have an issue for Livestatus support at
https://dev.icinga.org/issues/8254. It’s postponed however and may be
dropped completely because Icinga 2.4 will introduce an API for querying
monitoring data.
Best,
Eric
Am 24.08.2015 um 12:07 schrieb jacques.min...@drv-bund.de<
mailto:jacques.min...@drv-bund.de>:
Hi Eric,
do you plan livestatus also ?
Jacques Mineur
________________________________
Deutsche Rentenversicherung Bund
Von: Eric Lippmann <eric.lippm...@netways.de<
mailto:eric.lippm...@netways.de>>
An: "icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org>"
<icinga-users@lists.icinga.org<
mailto:icinga-users@lists.icinga.org>>,
Datum: 24.08.2015 12:01
Betreff: Re: [icinga-users] Icinga-web 2 and ido ?
Gesendet von: "icinga-users" <icinga-users-boun...@lists.icinga.org<
mailto:icinga-users-boun...@lists.icinga.org>>
Hi Jacques,
We’re only supporting IDO w/ Web 2 at the moment.
Best,
Eric
Am 24.08.2015 um 11:46 schrieb jacques.min...@drv-bund.de<
mailto:jacques.min...@drv-bund.de>:
Hello,
one question for the icinga-web 2 developper:
will it be possible to use icinga-web2 (with icinga core 2) without ido ?
for example only with status.dat or livestatus.
Thanks.
Jacques Mineur
________________________________
Deutsche Rentenversicherung Bund
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Eric Lippmann
Application Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | eric.lippm...@netways.de<
mailto:eric.lippm...@netways.de>
** OSBConf 2015 - September - osbconf.org<http://osbconf.org> **
** OSMC 2015 - November - netways.de/osmc<http://netways.de/osmc> **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Eric Lippmann
Application Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | eric.lippm...@netways.de
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Michael Friedrich, DI (FH)
Senior Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Michael Friedrich, DI (FH)
Senior Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users