[Xymon] TEST2RRD variable too long in xymonserver.cfg file
Nelis, Wim
Wim.Nelis at nlr.nl
Tue Apr 17 19:20:37 CEST 2018
> I have a lot of custom scripts and the line of TEST2RRD is very long, sometimes is hard to find the ncv definitions in the line.
> Can I split the TEST2RRD in two o more lines?
Yes, you can. In file xymonserver.cfg, an "includir" directive is used. For each additional test in Xymon, a seperate file is created. For instance, for the additional test named "env", there is a file called "env.cfg", containing two lines:
TEST2RRD+=",env=devmon"
GRAPHS+=",env"
Note, the use of a comma at the beginning of those symbol definitions. See the documentation of xymonserver.cfg, the paragraph named DESCRIPTION. The same trick should be usable within file xymonserver.cfg too, enabling you to split up the definition of TEST2RRD.
HTH,
Wim Nelis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180417/bb718a61/attachment.html>
More information about the Xymon
mailing list