<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,</div><div><br></div><div>In rrdtool v1.5.5 source 'showtime', which when set to 1 adds time values in the exported xml, is not being set because of which we do not get time values in xml. This however is fixed in the master branch of rrdtool by adding new flag ‘--showtime’ to rrdtool xport’ command. When can we expect that to be available in ports. Thanks!!</div><div><br></div><div><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"><snip></span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US">int rrd_xport_format_xmljson(int flags,stringbuffer_t *buffer,image_desc_t *im,time_t start, time_t end, unsigned long step, unsigned long col_cnt, char **legend_v, rrd_value_t* data) {</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> </span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> /* define some other stuff based on flags */</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> int json=0;</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> if (flags &1) { json=1; }</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> int showtime=0;</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> if (flags &2) { showtime=1;}</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> </span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US">if (showtime) {</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> snprintf(buf,sizeof(buf),</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> " <%s><%s>%s</%s>", DATA_ROW_TAG,COL_TIME_TAG, dbuf, COL_TIME_TAG);</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> } else {</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> snprintf(buf,sizeof(buf),</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> " <%s>", DATA_ROW_TAG);</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> }</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"> addToBuffer(buffer,buf,0);</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span lang="EN-US"></snip></span></p></div><div><br></div><div><br></div><div><span name="x"></span><div><span style="font-size: medium;">Regards,</span><br><span style="font-size: medium;">Ashutosh</span><br><span style="font-size: medium;">+91 9899653573</span></div><span name="x"></span><br></div></div></body></html>