Re: JSON output for rrdtool (XPORT mod)

Tobias Oetiker <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hi Erik,

Today Erik Kastner wrote:

> Sweet!
>
> I'd be happy to extract it out to a common location, however I'm a bit
> confused. rrd_cgi.c doesn't look like it uses the xport functionality
> at all. Am I missing something?

no it does not, but if it did, it would make a good data provider
for people writing the web part ...

> I'll be showing the front-end stuff I hacked tonight during tomorrow's
> IRC meeting on the ganglia front-end. After that, I'll put it
> somewhere public facing to show you.
> Here's a screenshot till then:
> http://cl.ly/766a3c5c3d3bcb9f92a2

:-)

cheers
tobi

>
> On Wed, Oct 13, 2010 at 1:06 AM, Tobias Oetiker <[email protected]> wrote:
> > Hi Erik,
> >
> > Cool stuff ! Will be glad to add ... Note, some might like to have
> > this integrated in rrd_cgi as well ... so maybe the formatting code
> > should be kept in a separate file ... are you still in a hacking
> > mood ?
> >
> > Got any cool graphing frontend to show off ?
> >
> > cheers
> > tobi
> >
> > Yesterday Erik Kastner wrote:
> >
> >> Hey everyone. I've been playing with some javascript graphing ideas. I
> >> was taking XPORT output and transforming it into json. I was forwarded
> >> an email from this list
> >> (http://oss.oetiker.ch/rrdtool/forum.en.html#nabble-td3575399), and
> >> chatting with some folks in #ganglia. After poking around the source,
> >> I realized it would be pretty easy to have rrdtool spit out json (in
> >> the format I was looking for). After a little hacking, I came up with
> >> this patch:
> >>
> >> http://gist.github.com/614476
> >>
> >> I'm not suggesting it go in as is - I don't know anything about how
> >> you all handle development, etc. I just wanted to start a discussion
> >> about the merits of this - and my approach thus far.
> >>
> >> _______________________________________________
> >> rrd-developers mailing list
> >> [email protected]
> >> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
> >>
> >>
> >
> > --
> > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> > http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
> >
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.