Include statement for template based config files

Andreas Ericsson ae at op5.se
Thu Mar 10 16:27:42 CET 2005


Subhendu Ghosh wrote:
> On Thu, 10 Mar 2005, Andrew wrote:
> 
>> Hi, I'm just wondering if there's a way to use a line like:
>>
>> include myservers.cfg
>>
>> so that way my config files don't get so cluttered. If it's in the 
>> documentation (which is possible, as I didn't read all of it in it's 
>> entirety) could someone include a tip on where it is?
>>
> 
> see docs for "cfgdir" entry in nagios.cfg
> 
> allows you to import all files for specified directory wiouth explicit 
> declaration of filenames.
> 

Or you could just specify multiple cfg_file entries.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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