[rrd-developers] Bug#251701: fix #182217 breaks librrdp-perl

Tobias Oetiker tobi at oetiker.ch
Mon Apr 13 23:09:14 CEST 2009


Hi Sebastian,

Today Sebastian Harl wrote:

> Hi Tobi,
>
> On Mon, Apr 13, 2009 at 08:00:50PM +0200, Tobias Oetiker wrote:
> > Today Sebastian Harl wrote:
> > > On Thu, Apr 09, 2009 at 05:47:58PM +0200, Tobias Oetiker wrote:
> > > > Yesterday Sebastian Harl wrote:
> > > > > On Wed, Apr 08, 2009 at 07:32:38AM +0200, Tobias Oetiker wrote:
> > > > > > Otherwhise the solution is simple, update the docs and mention
> > > > > > that it does NOT work and if someone is so minded, update RRDp to
> > > > > > support graphv
> > > > >
> > > > > Well, that's basically what I proposed initially - I would have gone for
> > > > > reporting an error if "graph -" is used in RRDp::cmd though. When I was
> > > > > asking for someone to provide a patch, I had support for graphv in mind.
> > > > > Sorry, if that wasn't clear in the first place. Anyway, those two
> > > > > changes would be a perfectly valid solution for this problem imho.
> > > >
> > > > well for the moment the check for a call to graph - sounds like a
> > > > simple enough thing todo ... will create a patch and send it your
> > > > way ...
> > >
> > > Well, that's trivial ... ;-) I've attached a patch to take care of that.
> > > Anyway, you've talked about "enhancing RRDp accordingly" - what did you
> > > have in mind then? None of the other commands is handled specifically
> > > ...
> >
> > well there is a special response protocol shared by rrd_info
> > rrd_graphv and rrd_updatev ... this could be handled by RRDp.pm
>
> Sounds good to me. I'd image that something like returning a hash value
> that stores the returned key-value pairs would make sense. Did you have
> something else in mind?

nope exactly that ... do you feel, you about to be coming up with a
patch :-)

>
> > it would not be all that hard to implement, do you have any
> > indication (apart from this) bug who is using RRDp.pm ?
>
> Sorry, I have no idea ...
>
> > > Also, I noticed that graphv isn't documented yet. Having RRDp point to
> > > some undocumented feature is not very nice imho. Would you mind
> > > providing a manpage for that?
> >
> > the graphv command is documented in the rrdgraph manual page
> > (similar to updatev) ...
>
> Oops, I missed that.

:-) I try realy hard to make sure no feature goes into rrdtool
without documentation ... at least here I am totally in line with
debian policy :-)

cheers
tobi

>
> Cheers,
> Sebastian
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list