Discussion:
[rrd-users] python-rrd doesn't know --left-axis-formatter
(too old to reply)
c***@c-p-f.org
2016-03-09 12:05:00 UTC
Permalink
Hello there,

I'm using python-rrdtool 1.4.8 (and rrdtool 1.4.8) on a raspberry Pi. It
has been installed via apt-get from mirrordirector.raspbian.org

When I try to use --left-axis-formatter in a rrd-graph, I encounter:
rrdtool.error: unknown option '--left-axis-formatter'

And same thing if I try directly in bash.

Do I need an earlier version ? And more: why the last stable version is
not in debian nor raspbian repositories ?

Regards,
CrazyCat
Maxwell Carey
2016-03-09 17:09:57 UTC
Permalink
Post by c***@c-p-f.org
Hello there,
I'm using python-rrdtool 1.4.8 (and rrdtool 1.4.8) on a raspberry Pi. It
has been installed via apt-get from mirrordirector.raspbian.org
rrdtool.error: unknown option '--left-axis-formatter'
The --left-axis-formatter option wasn't added until v1.5.0 (at least,
that's when it first appears in the documentation).
Post by c***@c-p-f.org
And same thing if I try directly in bash.
Do I need an earlier version ?
No, you need a later version.
Post by c***@c-p-f.org
And more: why the last stable version is not in debian nor raspbian
repositories ?
Repositories usually don't contain the very latest releases of software
for stability and security reasons.
c***@c-p-f.org
2016-03-10 09:07:42 UTC
Permalink
Hello guys,
The --left-axis-formatter option wasn't added until v1.5.0 (at least, that's when it first appears in the documentation).
Repositories usually don't contain the very latest releases of software for stability and security reasons.
I've changed my apt source list to use the testing raspbian, in wich I
found the 1.5.5 version of RRD.

So, I've been able to use the formater, but I also notice a little
changement: the formating for GPRINT is more strict: before, I can use
%2.lf, now I've to use %2.1lf. Not a trouble, I just have to adapt my
(bad) formating.

And I've a question, always about the GPRINT formating: I'v done an
uptime graph, with 'duration' formatter, but I didn't succeed in finding
a way to print in the legend in the same format than in the Y axis.

And I dislike my uptime graph and legend, so does someone already done
this kind of monitoring ?

Thanks and regards,

CrazyCat

Loading...