organizing config files with templates

Terry td3201 at gmail.com
Wed Aug 19 04:31:21 CEST 2009


Hello,

I have a medium-sized installation (>10,000) services) in a manged
services/data center environment.   I am curious how others in these
types of multi-tenant environments organize their configuration files.
 There are multiple things to consider:
- templates
- cfg_dirs
- grouping

I am considering cfg_dirs in this fashion:
/etc/nagios/objects/hosts/customer.cfg
/etc/nagios/objects/services/customer/host.cfg

I am considering templates in this fashion:
/etc/nagios/objects/services/templates/sql.cfg  (will contain
microsoft sql type services)
This template will look like this:
define service{
        use                             standard-server
        hostgroup_name                  sql
        service_description             microsoft sql server service
        check_command                   check_nrpe_win_service_mssql
        }
Then I can just add hosts to the sql hostgroup to give them this service.

What am I missing?  What do others do that might make my life easier?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list