On Monday 01 May 2017 at 20:21:54, Denny Fuchs wrote:

> hi,
> 
> I have a Puppet-icinga/examples/example3 setup running and very happy with
> it :-) Now I want to add two new DMZ zones. The" problem" is, that both
> zones have own Puppet servers:
> 
> Master: Puppet server (with Puppetdb) 1
> Slave1: Puppet server (no puppetdb) 2
> Slave2: Puppet server (no puppetdb) 3

In what way is that a "problem"?

> The question is now: what is the best way, to add both zones with
> satellites, while all zones not using the PuppetDB server, like the
> master.

I don't really understand the question.

Are you asking how to configure Icinga for Master - Satellite - Client?

Or are you asking how to configure Puppet?

> included in the role icinga2_master.pp
> 
> modules/profile/manifests/icinga2/external_hosts.pp
> 
> class profile::icinga2::zone1 (){
> 
>   ############ Zone1 #########
> 
>   # Create virtual resources for this agent node
> 
>   ::icinga2::object::endpoint { "zone1.example.com":
>     host =>  "1.2.3.4",
>   }
> 
>   ::icinga2::object::zone { "zone1.example.com":
>     endpoints =>  [ "zone1.example.com", ],
>     parent =>  'master',
>   }

I think it might help if you tell us where machine "zone1.example.com" is in 
relation to the Master, Slave 1 and Slave 2 which you mentioned above.

> The master knows the zone/endpoint. the host definition self is at the
> moment in hiera ... and works with the basic checks.

Okay, what doesn't work - what's the problem?

> The Puppet config is managed with Git on all zones, master included.

Sounds good.

> May I can adapt the config from example4 which has an example for dmz
> zones.

Example4?  Where?

Please describe in a bit more detail:

 - what you're trying to do
 - what you've done so far
 - what isn't working


Thanks,

Antony.

-- 
I own three Windows books, published by O'Reilly.   They are "Windows 
Annoyances", "Office 97 Annoyances" and "Windows 98 Annoyances".   That pretty 
much sums it up for me.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to