[rrd-users] Re: php bindings for rrdtool

Rogério Schneider stockrt at gmail.com
Sat Nov 11 11:52:35 MET 2006


Rob, I want a copy your PHP Class.

So, after the shel_exec, how you show the graph? Do you use temporary
files or do you take the image from a pipe and print it on the web?

Att,
Rogério Schneider



On 11/10/06, Rob Newman <rlnewman at ucsd.edu> wrote:
> Hi Maarten,
>
> The way I use it for graphing in my PHP projects (which admittedly
> might not be the best method) is to create a PHP function that calls
> a shell_exec() to rrdtool graph. The arguments to rrdtool graph are
> passed as arguments in the function, which allows a degree of
> customization.
>
> I hope this helps. Let me know if you would like to see the function
> I wrote (which is slowly evolving into a PHP class) and I can email
> you offline from the list.
>
> Best regards,
> - Rob Newman
>
> On Nov 10, 2006, at 9:41 AM, Maarten Claes wrote:
>
> > Hi List,
> >
> >
> > I'm having trouble finding out how I can integrate rrdtool in one
> > of my
> > php projects (mostly graphing). I looked at
> > http://rpmfind.net/linux/rpm2html/search.php?query=rrdtool-php but my
> > operating system is not on there (centos 4.3, apache2 + PHP5).
> >
> > At the moment, I have compiled rrdtool with perl support but I'd
> > like to
> > know if there are options to add PHP support in the compilation
> > process.
> >
> > Can anyone point out how I should proceed from here on ?
> >
> > Thanks a lot!
> >
> > Maarten.
>
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://lists.ee.ethz.ch/rrd-users
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
>
>


-- 
Rogério Schneider
+55 (55) 9985 2127
+55 (55) 3332 5923
+55 (55) 3321 1535

MSN: stockrt at hotmail.com
ICQ: 78778973
GTalk: stockrt at gmail.com
Skype: stockrt

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list