Thanks,
I changed TEST2RRD in the same xymonserver.cfg with TEST2RRD+=",.." and it's working fine.
Greetings
TEST2RRD="cpu=la,disk,inode,qtree"
TEST2RRD+=",memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp"
TEST2RRD+=",time=ntpstat,vmstat,iostat,netstat,temperature,apache"
De: Xymon <xymon-bounces at xymon.com> en nombre de John Thurston <user-ce4d79d99bab@xymon.invalid>
Enviado: martes, 17 de abril de 2018 12:31
Cc: xymon >> xymon at xymon.com
Asunto: Re: [Xymon] TEST2RRD variable too long in xymonserver.cfg file
On 4/17/2018 9:17 AM, Galen Johnson wrote:
Another option would be to use string concatenation; such as:
TEST2RRD="cpu=la,disk,inode,qtree"
TEST2RRD+=",memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp"
TEST2RRD+=",time=ntpstat,vmstat,iostat,netstat,temperature,apache"
Ok, this is cool. I never suspected this would work. There's that big
warning at the top of the file:
# NB : Even though it might look like a shell-script, it is NOT.
so it has never been clear to me what parsed these files.
--
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
Xymon -- Discussions about the Xymon monitor<
lists.xymon.com
The Xymon monitor - www.xymon.com - is an Open Source (GPL) licensed monitoring system. This mailing list is for discussions about installing and using Xymon.