Hi Michael, Die Version ist: version: r2.6.1-1
und hier die Konfig: Zones.conf: /** * WARNING: This Zone is automatically generated by Puppet. * ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN! */ object Zone "icinga-ha-01" { endpoints = [ "icinga-01.ipx", "icinga-02.ipx" ] } /** * WARNING: This Zone is automatically generated by Puppet. * ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN! */ object Zone "SSO_PRO" { endpoints = [ "icinga-satellite-01.sso.pro00.eu.idealo.com", " icinga-satellite-02.sso.pro00.eu.idealo.com" ] parent = "icinga-ha-01" } object Zone "SSO_STG" { endpoints = [ "icinga-satellite-01.sso.stg00.eu.idealo.com", " icinga-satellite-02.sso.stg00.eu.idealo.com" ] parent = "icinga-ha-01" } object Zone "iWO_DEV" { endpoints = [ "icinga-sat-01.srv00.inf00.eu.idealo.com", " icinga-sat-02.srv00.inf00.eu.idealo.com", " icinga-sat-03.srv00.inf00.eu.idealo.com", " icinga-sat-04.srv00.inf00.eu.idealo.com" ] parent = "icinga-ha-01" } object Zone "iWO_TST" { endpoints = [ "icinga-sat-05.srv00.inf00.eu.idealo.com", " icinga-sat-06.srv00.inf00.eu.idealo.com", " icinga-sat-07.srv00.inf00.eu.idealo.com", " icinga-sat-08.srv00.inf00.eu.idealo.com" ] parent = "icinga-ha-01" } object Zone "iWO_STG" { endpoints = [ "icinga-sat-09.srv00.inf00.eu.idealo.com", " icinga-sat-10.srv00.inf00.eu.idealo.com", " icinga-sat-11.srv00.inf00.eu.idealo.com", " icinga-sat-12.srv00.inf00.eu.idealo.com" ] parent = "icinga-ha-01" } object Zone "iWO_PRO" { endpoints = [ "icinga-sat-13.srv00.inf00.eu.idealo.com", " icinga-sat-14.srv00.inf00.eu.idealo.com", " icinga-sat-15.srv00.inf00.eu.idealo.com", " icinga-sat-16.srv00.inf00.eu.idealo.com", " icinga-sat-17.srv00.inf00.eu.idealo.com"," icinga-sat-18.srv00.inf00.eu.idealo.com"] parent = "icinga-ha-01" } object Zone "global-templates" { global = true } api.conf: object ApiListener "master-api" { cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt" key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key" ca_path = SysconfDir + "/icinga2/pki/ca.crt" bind_host = "0.0.0.0" bind_port = 5665 accept_config = true (für jeder node) Many Thanks, Christian Christian Moreno Moreno System Engineer Offers idealo internet GmbH Ritterstraße 11 10969 Berlin, Deutschland Tel.: +49 (0)30 40 30 10 33 Fax: +49 (0)30 221 94 33 - 21 E-Mail: christian.mor...@idealo.de Geschäftsführer: Dr. Albrecht von Sonntag, Dr. Philipp-Christopher Peitsch HRB 76749 – Amtsgericht Berlin-Charlottenburg [image: idealo Logo] <http://www.idealo.de/> 2017-03-28 12:00 GMT+02:00 <icinga-users-requ...@lists.icinga.org>: > Send icinga-users mailing list submissions to > icinga-users@lists.icinga.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.icinga.org/mailman/listinfo/icinga-users > or, via email, send a message with subject or body 'help' to > icinga-users-requ...@lists.icinga.org > > You can reach the person managing the list at > icinga-users-ow...@lists.icinga.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of icinga-users digest..." > > > Today's Topics: > > 1. API Objects not unter /var/lib/icinga2/api/zones/*? > (Christian Moreno Moreno) > 2. Re: API Objects not unter /var/lib/icinga2/api/zones/*? > (Michael Friedrich) > 3. Re: Unable to get Graphite Web2 module working (Michael Martinez) > 4. puppetdb2 director module (Rudy Gevaert) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 27 Mar 2017 12:23:29 +0200 > From: Christian Moreno Moreno <christian.mor...@idealo.de> > To: icinga-users@lists.icinga.org > Subject: [icinga-users] API Objects not unter > /var/lib/icinga2/api/zones/*? > Message-ID: > <CAHCD4S8SrwdAW+C6wubZH6Z9aAvJjKiOg7qaQ_ > te3dhsp5y...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, > > I create some hosts and hostgroups via API, but I have one question. I > created the hostgroups in the global-templates zone, and the api created > one file like: > > object HostGroup "infra" { > display_name = "infra" > version = 1490609766.016400 > zone = "global-templates" > } > > > but it creates the file unter one of the nodes and not under the zone > folder: > > /var/lib/icinga2/api/packages/_api/icinga-01-1452496651-2/conf.d/ > hostgroups/infra.conf > > and I think that for this reason its not replicated to the other nodes. > > Should be not created under: > > /var/lib/icinga2/api/zones/global-templates/xx ?? > > Regards, > Christian > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.icinga.org/pipermail/icinga-users/ > attachments/20170327/626b6ae3/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Mon, 27 Mar 2017 13:58:45 +0200 > From: Michael Friedrich <michael.friedr...@icinga.com> > To: Icinga User's Corner <icinga-users@lists.icinga.org> > Subject: Re: [icinga-users] API Objects not unter > /var/lib/icinga2/api/zones/*? > Message-ID: <b20b76d7-0c25-4bff-b8ec-d686a9a9e...@icinga.com> > Content-Type: text/plain; charset=us-ascii > > Hi, > > > On 27 Mar 2017, at 12:23, Christian Moreno Moreno < > christian.mor...@idealo.de> wrote: > > > > Hello, > > > > I create some hosts and hostgroups via API, but I have one question. I > created the hostgroups in the global-templates zone, and the api created > one file like: > > > > object HostGroup "infra" { > > display_name = "infra" > > version = 1490609766.016400 > > zone = "global-templates" > > } > > > > > > but it creates the file unter one of the nodes and not under the zone > folder: > > > > /var/lib/icinga2/api/packages/_api/icinga-01-1452496651-2/conf.d/ > hostgroups/infra.conf > > > > and I think that for this reason its not replicated to the other nodes. > > > > Should be not created under: > > > > /var/lib/icinga2/api/zones/global-templates/xx ?? > > No, object replication for runtime create objects works in a different way > than cluster config sync via /etc/icinga2/zones.d. > > Which versions of Icinga 2 are involved here? Please also show the > zones.conf and api.conf from affected nodes. > > Kind regards, > Michael > > > > > Regards, > > Christian > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > icinga-users mailing list > > icinga-users@lists.icinga.org > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > ------------------------------ > > Message: 3 > Date: Mon, 27 Mar 2017 07:29:14 -0700 > From: Michael Martinez <mwt...@gmail.com> > To: "Icinga User's Corner" <icinga-users@lists.icinga.org> > Subject: Re: [icinga-users] Unable to get Graphite Web2 module working > Message-ID: > <CABiqCZke4S-H79B_H0jNaaaaGJgFp0ZHFBr3dXBqdc9S4Z= > h...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Fri, Mar 24, 2017 at 9:03 PM, Garrett Pye <gvpy...@gmail.com> wrote: > > What does your config.ini file look like? > > [graphite] > web_url = username:pas...@our.graphite.com > > > ------------------------------ > > Message: 4 > Date: Mon, 27 Mar 2017 16:57:30 +0200 > From: Rudy Gevaert <rudy.geva...@ugent.be> > To: Icinga User's Corner <icinga-users@lists.icinga.org> > Subject: [icinga-users] puppetdb2 director module > Message-ID: > <20170327165730.horde.5zgls9d6uq5y2shah2-a...@webmail.ugent.be> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes > > > Hi, > > I was able to set up my icingaweb2 director (from the vagrant box) to > connect my puppetdb (puppetdb 2.2) and import my nodes. Yes! Very > nice. (I'm very happy you can connect to multiple puppetdbs, but I > haven't tested that. And different version!). > (I used my own generated certificate and that work too.) > > I couldn't find any information for what I should fill in as "Resource > type" > > Also, I put for now Query Type as "nodes". I can choose resources > too. But I have no idea what it would do. > > For resources type I would assume I can choose 'Cron, File, Node'. I > put node. > I saw that on a screen shot from a presentation. > > What can I do with this information? > > When I look at the import that was done, I see the classes and facts > appear. > > I managed to set the "notes" to something (we have a similar fact). > > I eventually want to move to running check_http against all the vhost > resources... > > Thanks! > > Rudy > > > > > > -- > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Rudy Gevaert e-mail: rudy.geva...@ugent.be > Directie ICT, Afdeling Infrastructuur > Groep Systemen tel: +32 9 264 4750 > Universiteit Gent fax: +32 9 264 4994 > Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > > ------------------------------ > > End of icinga-users Digest, Vol 39, Issue 25 > ******************************************** >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users