[Xymon] TEST2RRD variable too long in xymonserver.cfg file
John Thurston
john.thurston at alaska.gov
Tue Apr 17 17:49:45 CEST 2018
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 907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska
More information about the Xymon
mailing list