[icinga-users] keeping Icinga configurations in sync

Michael Friedrich michael.friedrich at univie.ac.at
Fri Mar 16 17:27:11 CET 2012


On 16.03.2012 15:50, Isaac Witmer wrote:
> The current setup is two Icinga servers, one in a local network, and
> one outside in cyberspace.
> There are several servers in the local network that are checked by the
> local instance of Icinga, but the notifications and external servers
> are (for the most part) handled by the external instance.
>
> This causes some issues for keeping configurations in sync. If a new
> computer is added to the local network, a new configuration has to be
> added to the local Icinga, and then another almost identical
> configuration (except marked as passive:
> http://docs.icinga.org/1.0.1/en/passivechecks.html)  on the external
> host.
> It's not quite as simple as simply copying the configurations between
> incinga servers, though, because one server can check the hosts and
> the other can't (firewall restrictions prevent the external server
> from accessing internal hosts).
>
> I've thought a bit about modifying the templates so that I can make
> the configurations in the template, but that doesn't quite work
> either. The issue being that host configurations are preferred to
> template configurations (understandably), meaning that I can't copy
> host configurations from the local instance to the external instance
> and expect the external instance to use a different (simply return
> critical when it doesn't get any alerts) check command.
>
> Am I making any sense? Are there any ideas/documentation that would
> make this easier?
>
> One idea that might help would be to attempt to script some things to
> output the configuration files that I need... Are there tools out
> there that do that already?

look for puppet or chef.


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:     michael.friedrich at univie.ac.at
phone:     +43 1 4277 14359
mobile:    +43 664 60277 14359
fax:	   +43 1 4277 14338
web:       http://www.univie.ac.at/zid
            http://www.aco.net

Lead Icinga Core Developer
http://www.icinga.org





More information about the icinga-users mailing list