-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27/05/08 09:01 AM, 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?
I personally prefer assigning the hostgroups from the host definition, using the "hostgroups" variable. You can also put it in a template is you already have one per hostgroup, which will avoid having to repeat that line for each host in the hostgroup. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIPROF6dZ+Kt5BchYRAt6FAKD7SA3GgOFO5HVB5pfHsF+vWJm3FQCggy2x dn5oUfgUj96EYQowkGk8Iz4= =D0AS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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@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