Include statement for template based config files

Subhendu Ghosh sghosh at sghosh.org
Thu Mar 10 15:48:41 CET 2005


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.

-- 

-sg


-------------------------------------------------------
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