Include file in conf file

Cook, Garry GWCOOK at mactec.com
Tue Feb 15 16:17:17 CET 2005


nagios-users-admin at lists.sourceforge.net wrote:
>   Cantos wrote:
>> Hi,
>> 
>> Is there a way to include a text file into another configuration
>> text file ? (Like the #include in C). I've very big configuration
>> files and I would like to split them. 
>> 
> With nagios version 2 you can include the content of a whole directory
> with one statement.
>
You can also do this with earlier versions. I use directory includes in
1.2.


> withnagios version 1.x you can also include many files. you find the
> directive in nagios.cfg file. 
> 
> Stephan

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.273.5050 (Office) - 720.220.1862 (Mobile)


-------------------------------------------------------
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_ide95&alloc_id396&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