[hobbit] RE : [hobbit] error creating rrd DS (invalid DS name)
Tracy J. Di Marco White
gendalia at iastate.edu
Fri Sep 9 03:07:19 CEST 2005
In message <A10E03C9E3F97E4CB33471F96A6F6BEE016C3870 at EXC2K02CLU.mgen.fij>, "FIGARO Nicolas" writes:
}Hi all,
}> -----Message d'origine-----
}> De : gendalia at iastate.edu [mailto:gendalia at iastate.edu]
}> Envoy=E9 : jeudi 8 septembre 2005 00:18
}> =C0 : hobbit at hswn.dk
}> 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=20
}> /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.
I think it was helpful. With the above check:
2005-09-08 19:36:23 hobbitd_rrd: Got message 234863 @@status#234863|1126226183.971210|129.186.1.96||afs-6.iastate.edu|afs|1126227983|green||green|1125634585|0||0|
2005-09-08 19:36:23 Creating rrd /usr/pkg/hobbit/data/rrd/afs-6.iastate.edu/afs.rrd
2005-09-08 19:36:23 RRD create param 00: 'rrdcreate'
2005-09-08 19:36:23 RRD create param 01: '/usr/pkg/hobbit/data/rrd/afs-6.iastate.edu/afs.rrd'
2005-09-08 19:36:23 RRD create param 02: 'DS:Instancefscurrently:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 03: 'DS:ileserverrunninggre:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 04: 'DS:green:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 05: 'DS::DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 06: 'DS:essages:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 07: 'DS:Pages:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 08: 'DS:TIMESPENTEventStart:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 09: 'DS::DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 10: 'DS:mpleted273hosts1126:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 11: 'DS::DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 12: 'DS:obbitdclient19299S0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 13: 'DS:bbtestnetreportping:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 14: 'DS:vmstat300220235I0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 15: 'DS:shcvmstat30021usrpk:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 16: 'DS:vmstat300222431S0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 17: 'DS:binshusrpkghobbitse:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 18: 'DS:hobbitdpidfile:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 19: 'DS:varloghobbithobbitd:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 20: 'DS:usrpkghobbitservert:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 21: 'DS:usrlibexecgettyPcco:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 22: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 23: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 24: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 25: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 26: 'DS::DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 27: 'DS:rrddir:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 28: 'DS:usrpkghobbitd22068I:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 29: 'DS:usrpkgsbinhttpd2254:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 30: 'DS:hobbitdchannelchann:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 31: 'DS:atalog:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 32: 'DS:varloghobbitrrddata:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 33: 'DS:usrpkghobbitdata233:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 34: 'DS:usrpkgsbinhttpd2472:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 35: 'DS:hobbitdchannelchann:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 36: 'DS:tachglog:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 37: 'DS:varloghobbithistory:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 38: 'DS:usrpkgsbinhttpd2544:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 39: 'DS:shcvmstat30021usrpk:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 40: 'DS:vmstat300226693Is0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 41: 'DS:usrsbinnamed28245R9:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 42: 'DS:hobbitdpidfile:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 43: 'DS:varloghobbithobbitd:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 44: 'DS:usrpkghobbitservert:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 45: 'DS:vmstat30027994p0S0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 46: 'DS:tailfvarloghobbitrr:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 47: 'DS:tcsh126900IWs0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 48: 'DS:usrlibexecgettyPcco:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 49: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 50: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 51: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 52: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 53: 'DS::DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 54: 'DS:E3IWs0:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 55: 'DS:usrlibexecgettyPctt:DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 56: 'DS::DERIVE:600:0:U'
2005-09-08 19:36:23 RRD create param 57: 'RRA:AVERAGE:0.5:1:576'
2005-09-08 19:36:23 RRD create param 58: 'RRA:AVERAGE:0.5:6:576'
2005-09-08 19:36:23 RRD create param 59: 'RRA:AVERAGE:0.5:24:576'
2005-09-08 19:36:23 RRD create param 60: 'RRA:AVERAGE:0.5:288:576'
2005-09-08 19:36:23 RRD error creating /usr/pkg/hobbit/data/rrd/afs-6.iastate.ed
u/afs.rrd: Invalid DS name
without the &green:
2005-09-08 19:48:03 hobbitd_rrd: Got message 237023 @@status#237023|1126226883.137552|129.186.1.96||afs-6.iastate.edu|afs|1126228683|green||green|1125634585|0||0|
2005-09-08 19:48:03 RRD update param 00: 'rrdupdate'
2005-09-08 19:48:03 RRD update param 01: '/usr/pkg/hobbit/data/rrd/afs-6.iastate.edu/afs.rrd'
2005-09-08 19:48:03 RRD update param 02: '-t'
2005-09-08 19:48:03 RRD update param 03: 'Instancefscurrently:ileserverrunningcal'
2005-09-08 19:48:03 RRD update param 04: '1126226883::0'
I'm still misunderstanding something. It seems to be running everything
together, rather than caring about line breaks.
Thanks!
Tracy J. Di Marco White
Information Technology Services
Iowa State University
More information about the Xymon
mailing list