[drraw-users] Custom GPRINTS
Jeff Calvert
jcalvert at cyrusone.com
Thu Jul 20 11:21:50 MDT 2006
Christophe,
That works. It makes sense now that I've seen it. Having the
same VDEF defined a second time is not that big a deal. The new version
is working great.
Is there an way I could remove the home link at the top of the
dashboard and graphs? I'm trying to build a set of graphs and combine
them into a dashboard per customer. But I can't let customers see each
other's data. (It will be a proxied in a portal.) One way would be to
put every customer into a separate installation, but I'm hoping to avoid
that.
Jeff
-----Original Message-----
From: drraw-users-bounces at taranis.org
[mailto:drraw-users-bounces at taranis.org] On Behalf Of Christophe Kalt
Sent: Thursday, July 20, 2006 11:46 AM
To: drraw-users at taranis.org
Subject: Re: [drraw-users] Custom GPRINTS
Hi Jeff,
On Jul 18, Jeff Calvert wrote:
| Thanks for the update to drraw, I'm glad to see working VDEFs in
| the graphs. Is there any way to add custom GPRINTS to the legend?
(I'm
| hoping to add a value for 95th percentile.)
I'm not sure whether i am missing the point of your question
because it seems obvious to me, so please bear with me.
| Example using rrdtool:
|
| /usr/bin/rrdtool graph primary.png \
[...]
| VDEF:C=A,95,PERCENT \
[...]
| GPRINT:C:"95th\:%8.2lf%s\n" \ <---------
GPRINT of a VDEF
So in the graph editor, you have a row in the "Data Source
Configuration" table which defines the VDEF. Since you want a
GPRINT of the VDEF, all you need to do is select GRPINT in the
drop down list found in the Type & Color column. As Label,
use "95th:%8.2lf%s". This will do it.
Now, i see that you also have this:
| LINE1:C#ff0000: \
This makes me think that you want to have the GPRINT in
addition to the LINE. The only way with 2.2a1 to do this
would be to define the same VDEF a second time. Less than
optimal. Seems like an oversight on my part. I'll have to
think about it, but i guess using the "Additional GPRINTs"
column to fix this would do.
_______________________________________________
drraw-users mailing list
drraw-users at taranis.org
http://web.taranis.org/mailman/listinfo/drraw-users
More information about the drraw-users
mailing list