[Xymon] TEST2RRD variable too long in xymonserver.cfg file

Jimmy Aulestia jimmy.aulestia at hotmail.com
Tue Apr 17 20:44:13 CEST 2018


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 <john.thurston at alaska.gov>
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    907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
Xymon -- Discussions about the Xymon monitor<http://lists.xymon.com/mailman/listinfo/xymon>
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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180417/44c8d550/attachment.html>


More information about the Xymon mailing list