Re: Dynamic Nagios Configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 Jun 2012 01:15:36 +0300
Christos Triantafyllidis <christos.triantafyllidis@xxxxxxxxx> wrote:

> Hi all,
> 
>     long ago i volunteered myself to start the work on a tool that
> will create dynamic Nagios configuration based on external
> information (i.e. infra-hosts).
> 
>     You can find my work on this at:
> git://fedorapeople.org/~ctria/DynamicNagiosConfig.git
> 
>      The idea is that there is a main configuration file:
> DNC.yml
> which specifies which modules to use to create the configuration.
> Given that the only information i could get from infra-hosts was the
> host's information itself this only does host configs but can be
> easily extended to support services, contacts etc.
> 
> The execution is simple, checkout the infra hosts repository in
> sample_configs/infra-hosts folder and execute: ./DNC.py
> 
> You should get all hosts at standard output.
> 
> Finally a simple YAML based file module allows overrides to be
> specified.
> 
> I'm willing to move this forward so i'd definitely like to hear your
> comments

A good start. ;) 

So, what other information do we need to make this generate (most if
not all of our nagios configs)? 

I'd guess:

- vpn info. I'd like to get our vpn info in there so we have the right
  dependencies so we can only get one alert from a site being down
  instead of 10. ;) 

- contacts

- services - perhaps we could populate these in infra-hosts too? Not
  sure how best to do this. 

I guess the next step I would say is look at our current nagios config
and see how we can autogenerate the rest of it, or at least the parts
related to machines. 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux