Longs lines in cfg files

Andreas Ericsson ae at op5.se
Tue May 27 15:37:02 CEST 2008


Dirk H. Schulz wrote:
> Hi Folks,
> 
> can I break long lines within a config file in several lines? I have tried 
> the usual backslash, but nagios -v did not like it.
> 
> What do yo do when you have dozens of hosts to put into one hostgroup to 
> get a manageable "members" line?
> 

We put the hostgroups in the "hostgroups" directive with the host object
instead (ie, other way around, but same result).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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