[Xymon] RRD Duplicate DS Name

Phil Meech pmeech at gmail.com
Tue Jul 10 11:10:23 CEST 2012


Hi,

I'm trying to create a graph from a custom test which monitors quota
usage on an FTP server.  The message sent to Xymon is as follows:

---------------------------
qused: 21
qassign: 100

Quota Assigned: 100 MB
Quota Used: 21 MB
Quota Available: 79 MB

Percentage Used: 21.00 %

-rw-r--r--   1 name ftpgroup  4747651 Feb 23 10:31 File-2012-02-23
10;30;45 (Full).zip
-rw-r--r--   1 name ftpgroup   278953 Feb 24 08:50 File-2012-02-24
08;50;14 (Differential).zip
-rw-r--r--   1 name ftpgroup  1052106 Feb 25 08:50 File-2012-02-25
08;50;13 (Differential).zip

----------------------------

Since the message includes ls output, this appears to be causing a
problem when generating the rrd file - since rrd-status is logging
errors like:

RRD error creating /var/lib/xymon/rrd/name/quota.rrd: Duplicate DS
name: rwrr1nameftpgro

As can be seen it's parsing the ls output as a DS name, however this
is not specified in my graphs setup (which follows):

xymonserver.cfg
TEST2RRD="....,quota=ncv"
GRAPHS="....,quota"
NCV_quota="qused:GAUGE,qassign:GAUGE"

graphs.cfg
[quota]
        TITLE FTP Quota Usage
        YAXIS Megabytes
        DEF:allowance=quota.rrd:qassign:AVERAGE
        DEF:usage=quota.rrd:qused:AVERAGE
        LINE2:usage#76B287:Usage
        AREA:allowance#CA1C2C:Allowance
        COMMENT:\n

I think my graph setup is OK, since I've copied it from another custom
graph which is working.

I'm running xymon 4.3.7 and rrdtool version 1.4.7 on Ubuntu.

Is my only option to strip the ls output down to just the unique filenames?

Cheers,
Phil



More information about the Xymon mailing list