<div dir="ltr">Hi Everyone, i can fix my problem, but i don´t understand how<div><br></div><div>In showgraph.c, I changed the line below</div><div><br></div><div>    sprintf(resultstr, "%-*s", paramlen, val);<br></div><div><br></div><div>For this</div><div><br></div><div>        sprintf(resultstr, "%-*s", strlen(val), val);</div><div><br></div><div>Only for information I downloaded and complied the  rrdtool-1.2.30 version.</div><div><br></div><div>Bye<br><div><br></div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Hernán Berman</b> <span dir="ltr"><<a href="mailto:herber75@gmail.com">herber75@gmail.com</a>></span><br>Date: Tue, May 23, 2017 at 1:21 PM<br>Subject: Problem/Bug? in xymon.cgi with FNPATTERN and dynamic ds-name (Again)<br>To: "<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>><br><br><br><div dir="ltr"><div>Hi Everyone</div><div><br></div><div><br></div><div>I run a new installation of xymon 4.3.28 on a RHEL6.9 and I have problems whit custom graphs.</div><div>The error is: Cannot parse DS in 'DEF:p0=mytest.subline.rrd:<wbr>subline :AVERAGE'</div><div>I fixed in an older installation following  this old post </div><div><br></div><div>          <a href="http://lists.xymon.com/oldarchive/2008/07/msg00379.html" target="_blank">http://lists.xymon.com/<wbr>oldarchive/2008/07/msg00379.<wbr>html</a></div><div><br></div><div>But in this version the code it has fixed.</div><div>In practice I send 2 values from my custom script, the rdd files are created fine, but showgraph can’t parse the second value. </div><div><br></div><div>I try with this to debug or understand the problem:</div><div><br></div><div>I have deleted the rrd file for one of values and the result was the graph was shown, whit one line, the expected.</div><div><br></div><div>I have deleted the second rrd file and recreate the first with the  another value and the result was the same.</div><div><br></div><div>In my opinion there are a problem wiht the "p" value, because  is staying in "0" for the second value.</div><div><br></div><div><br></div><div>Any Idea, or how to fix that?</div><div><br></div><div>Thanks</div><span class="gmail-HOEnZb"><font color="#888888"><div>Hernán</div><div><br></div><div><br></div><div><br></div></font></span></div>
</div><br></div></div></div>