Longs lines in cfg files

Dirk H. Schulz dirk.schulz at kinzesberg.de
Thu May 29 13:02:49 CEST 2008


Simon,

thanks, that was exactly what I was looking for. I run Nagios in a fast 
growing environment, and reediting hostgroups is somewhat laborous if I use 
the hostgroup directive in the host definition.

Regards,

Dirk

--On 28. Mai 2008 12:27:23 +1000 Simon Finch <finchs at stgeorge.com.au> wrote:

>
> Hi Dirk,
>
> One way that I found by accident was to use multiple "members" lines in
> the hostgroup definitions.
>
> HTH,
>
> Simon
>
>>>> "Dirk H. Schulz" <dirk.schulz at kinzesberg.de> 27/05/2008 11:01 pm >>>
> 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?
>
> Thanks for any hint or help,
>
> Dirk
>
>
>
> -------------------------------------------------------------------------
> 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
>
>
> *** This is an automatically appended message from St. George ITP.  If
> this email is SPAM please register it with WebSense MailControl by
> clicking this link
> https://www.mailcontrol.com/sr/wO2gxhebL4PTndxI!oX7UlFqrXJaieUTNuaFZbQ2jx
> OmkOjCPuhpBNeWV5OcZu2j2sXTsJG9rPYNWyQ1f1p+mg== . ***
>
> **********************************************************************
>
> ***** IMPORTANT INFORMATION *****
>
> This document should be read only by those persons to whom it is
>
> addressed and its content is not intended for use by any other
>
> persons. If you have received this message in error, please notify
>
> us immediately. Please also destroy and delete the message from
>
> your computer. Any unauthorised form of reproduction of this message
>
> is strictly prohibited.
>
>
>
>
> St George Bank Limited AFSL 240997, Advance Asset Management Limited
>
> AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital
> Management Limited
>
> AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not
> liable for
>
> the proper and complete transmission of the information contained in
>
> this communication, nor for any delay in its receipt.
>
> **********************************************************************
>
>



--------------------------------------------------------------
Dirk H. Schulz
IT Systems Service
Wiesenweg 12, 85567 Grafing
Tel. 0 80 92/86 25 68
Fax. 0 80 92/86 25 72
--------------------------------------------------------------
Technik vom Feinsten - und das nötige Tuning

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