1 Nov 2005 20:54
Bugs : digits in vname, locale, grapg size
Andrius Narbutas <Andrius.Narbutas <at> gmail.com>
2005-11-01 19:54:44 GMT
2005-11-01 19:54:44 GMT
I recently wrote to rrd-users mailing list, but didn't get any hints how to solve problems, so... Maybe this is correct place: Upgraded to rrdtool 1.2.11 with hope, that i get my regional letters shown correctly(Continue reading)Got several problems : a) fixed colons in code. This isn't a problem, this is described in "major incompat." list. BUT. I haven't find anywhere mentioned, that variables in 1.2.x can't be only digits. Instead of that, in documentation http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdgraph_data.en.html there is : "Variable names (vname) must be made up strings of the following characters A-Z, a-z, 0-9, -,_ and a maximum length of 255 characters". I have used such variables in 1.0.x version without any problems (shell script that picks users from db, finds rrd and draws graphs, so the easiest way to implement this - start a counter and use it as variable
- but now my scripts stopped working. Take a look : rrdtool graph img.png --start -86400 --imgformat PNG --step 300 DEF:1=db.rrd:Lbig:AVERAGE LINE1:1#61C323:label This works in 1.0.x without problems, but in 1.2.x it draws only empty horiz. line. No warnings, no errors. Just don't work as expected. It seems that it picks "counter value" as data value, and, if graph is drawn in --rigid mode with upper and lower limits set to big values, you just get an line <at> 0.
Got several problems :
a) fixed colons in code. This isn't a problem, this is described in
"major incompat." list. BUT. I haven't find anywhere mentioned, that
variables in 1.2.x can't be only digits. Instead of that, in
documentation
RSS Feed