Xymon Mailing List Archive search

error creating rrd DS (invalid DS name)

list Figaro Nicolas
Thu, 8 Sep 2005 08:27:45 +0200
Message-Id: <user-de422a32ff25@xymon.invalid>

Hi all, 
-----Message d'origine-----
De : user-4d3c8321d54f@xymon.invalid [mailto:user-4d3c8321d54f@xymon.invalid] Envoyé : jeudi 8 septembre 2005 00:18
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] error creating rrd DS (invalid DS name)


I guess I missed something trying to add data collection for a test I created.

The test sends data like so:
afs-6,iastate,edu.afs green Wed Sep 7 16:42:25 CDT 2005 Instance fs, currently running normally.
     Auxiliary status is: file server running. &green
calls waiting: 0 &green

I added ",afs=ncv" to the end of TEST2RRD and NCV_afs="Auxiliarystatusis=NONE,callswaiting=GAUGE"
in hobbitserver.cfg 
I get this in rrd-status.log:
2005-09-07 15:41:21 RRD error creating /usr/pkg/hobbit/data/rrd/afs-6.iastate.edu/afs.rrd: Invalid DS name

As hobbit, I can touch this file to create it.  Any ideas?  Where are the constraints on DS names listed?
The constraints are in the rrdcreate doc : http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdcreate.en.html

There is a debug option (--debug) to most hobbit programs, so you can add this flag in hobbitlaunch.cfg and see if you get more infos about the rrdcreate. 
In the hobbitd/do_rrd.c, you can find the error message at this line (around line 143 in my snaphsot): errprintf("RRD error creating %s: %s\n", filedir, rrd_get_error());

The error comes from the rrd_create two lines above. 
And the "if (debug)" block beginning at line 128 shows the rrdcreate parameters. 
Hope this'll help. 
Nicolas Figaro