<div dir="ltr"><div><div>Another option would be to use string concatenation; such as:<br><span style="font-family:monospace,monospace"><br>TEST2RRD="cpu=la,disk,inode,qtree"<br>TEST2RRD+=",memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp"<br>TEST2RRD+=",time=ntpstat,vmstat,iostat,netstat,temperature,apache"</span><br><br></div>Or, I do this, if you are using the Terabithia rpm (you can do this without it but would require some extra manual setup*), add content under $XYMONSERVER/xymonserver.cfg.d/testname that has something like the following example for a test named "threads":<br><br><br></div><span style="font-family:monospace,monospace">#> cat xymonserver.cfg.d/threads<br></span><div><span style="font-family:monospace,monospace">GRAPHS_threads="threads"<br><br>TEST2RRD+=",threads=ncv"<br><br>SPLITNCV_threads="*:NONE,total:GAUGE,consumed:GAUGE"</span><br><br></div><div>this keeps everything in nice, test specific configs.<br></div><div><br></div><div>=G=<br><br></div><div>* - add the following line to your xymonserver.cfg file:<br><span style="font-family:monospace,monospace">directory /etc/xymon/xymonserver.cfg.d</span><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 17, 2018 at 11:49 AM, John Thurston <span dir="ltr"><<a href="mailto:john.thurston@alaska.gov" target="_blank">john.thurston@alaska.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 4/17/2018 7:20 AM, Jimmy Aulestia wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can I split the TEST2RRD in two o more lines?<br>
<br>
</blockquote>
<br></span>
It is one variable, so I think it must appear on one logical line. However, I don't see any reason you can't use line-continuation to improve the legibility. Doing so will let your content span several short visual lines in your text file.<br>
<br>
>From the man file for hosts.cfg (the first place I looked for continuation):<br>
"Long lines can be broken up by putting a backslash at the end of the line and continuing the entry on the next line."<br>
<br>
I expect white space in the line to be stripped by the parser, so I'd expect to be able to insert "\" and " " characters liberally. You should be able to make your lines appear however you like.<br>
--<br>
   Do things because you should, not just because you can.<br>
<br>
John Thurston    907-465-8591<br>
<a href="mailto:John.Thurston@alaska.gov" target="_blank">John.Thurston@alaska.gov</a><br>
Department of Administration<br>
State of Alaska<br>
______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
</blockquote></div><br></div>