Nagios configuration management

nagios

I am going to implement Nagios (most likely anyway, could turn out to be another tool as well) and I was wondering if anyone would like to share their best practices when it comes to creating, managing and maintaining the config files when it comes to scalability and managability as I find that it might quickly become a real big mess.

Any tips, examples or even full configurations would be most welcome and I'd happily look them over.

Tools would be welcome as well. Tried out NConf so far, but the generated config files don't seem to do what was promised (not including the parent information for one, and just a PITA to get them working – they generate a ton of errors when checking the config files with the script supplied by nagios)

Thanks

Best Answer

As it turns out, I wrote a HOWTO for sane Nagios configurations: http://www.standalone-sysadmin.com/blog/2009/07/nagios-config/

Basically, meesterfox is on the right path. Keep your hosts in discrete files, use inheritance to your advantage, and create a directory hierarchy for your configs that map to the real world.

Related Topic