[Xymon] cannot update RRD using "data $MACHINE.trends"

P Yeung p3yeung at gmail.com
Thu Jun 6 02:44:19 CEST 2013


I am using xymon 4.3.11.   I sent data to multiple RRD files in one data
message from the xymon client, but these data are not updated in the RRD
files in the xymon server.   Any suggestion how to update multiple RRD
files in one data message?

In the client side, I sent 2 values to each of the 2 RRD files.

> cat /tmp/test.data

[Test1.rrd]
DS:value1:GAUGE:3600:0:U 101
DS:value2:GAUGE:3600:0:U 102
[Test2.rrd]
DS:count1:GAUGE:3600:0:U 201
DS:count2:GAUGE:3600:0:U 202

> xymoncmd xymon $XMON_IP "data ct6-metrics.localdomain.trends `cat
/tmp/test.data`"

In the server side, /var/log/xymon/rrd-data.log shows the RRD files are
created.  But all the values in both RRD files are 0.  Subsequent data
message sent using different data does not change anything in the RRD files.

7176 2013-06-05 17:17:12 Creating rrd
/var/lib/xymon/rrd/ct6-metrics.localdomain/Test1.rrd
7176 2013-06-05 17:17:12 RRD create param 00: 'rrdcreate'
7176 2013-06-05 17:17:12 RRD create param 01:
'/var/lib/xymon/rrd/ct6-metrics.localdomain/Test1.rrd'
7176 2013-06-05 17:17:12 RRD create param 02: '-s'
7176 2013-06-05 17:17:12 RRD create param 03: '300'
7176 2013-06-05 17:17:12 RRD create param 04: 'DS:value1:GAUGE:3600:0:U'
7176 2013-06-05 17:17:12 RRD create param 05: 'DS:value2:GAUGE:3600:0:U'
7176 2013-06-05 17:17:12 RRD create param 06: 'RRA:AVERAGE:0.5:1:576'
7176 2013-06-05 17:17:12 RRD create param 07: 'RRA:AVERAGE:0.5:6:576'
7176 2013-06-05 17:17:12 RRD create param 08: 'RRA:AVERAGE:0.5:24:576'
7176 2013-06-05 17:17:12 RRD create param 09: 'RRA:AVERAGE:0.5:288:576'
7176 2013-06-05 17:17:12 Creating rrd
/var/lib/xymon/rrd/ct6-metrics.localdomain/Test2.rrd
7176 2013-06-05 17:17:12 RRD create param 00: 'rrdcreate'
7176 2013-06-05 17:17:12 RRD create param 01:
'/var/lib/xymon/rrd/ct6-metrics.localdomain/Test2.rrd'
7176 2013-06-05 17:17:12 RRD create param 02: '-s'
7176 2013-06-05 17:17:12 RRD create param 03: '300'
7176 2013-06-05 17:17:12 RRD create param 04: 'DS:count1:GAUGE:3600:0:U'
7176 2013-06-05 17:17:12 RRD create param 05: 'DS:count2:GAUGE:3600:0:U'
7176 2013-06-05 17:17:12 RRD create param 06: 'RRA:AVERAGE:0.5:1:576'
7176 2013-06-05 17:17:12 RRD create param 07: 'RRA:AVERAGE:0.5:6:576'
7176 2013-06-05 17:17:12 RRD create param 08: 'RRA:AVERAGE:0.5:24:576'
7176 2013-06-05 17:17:12 RRD create param 09: 'RRA:AVERAGE:0.5:288:576'
7176 2013-06-05 17:17:12 Want msg 219, startpos 233160, fillpos 233160,
endpos -1, usedbytes=0, bufleft=295223


P Yeung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130605/7685632b/attachment.html>


More information about the Xymon mailing list