Xymon Mailing List Archive search

TEST2RRD variable too long in xymonserver.cfg file

list John Thurston
Tue, 17 Apr 2018 07:49:45 -0800
Message-Id: <user-fc3544c20178@xymon.invalid>

On 4/17/2018 7:20 AM, Jimmy Aulestia wrote:
Can I split the TEST2RRD in two o more lines?
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.

 From the man file for hosts.cfg (the first place I looked for continuation):
"Long lines can be broken up by putting a backslash at the end of the line and continuing the entry on the next line."

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.
--
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska