[rrd-users] Re: PHP and RRDTool

2005-07-29 Thread D. Walsh

On Jul 29, 2005, at 09:49 AM, Salil Kulkarni wrote:

> Hi,
> I want to use the 'rrdtool graph' functionality from a PHP script  
> on Mac OS
> X Darwin. Is there any other way to execute the command besides  
> using the
> 'system()' function in PHP.
>
> It would be great to have any suggestions.
>
> Thanks,
> Salil.

I forgot to mention, you're welcome to use the PHP code supplied as  
is but after you're done pulling your hair out trying to get it to  
work, write back to the list.

-- Dale

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi


[rrd-users] Re: PHP and RRDTool

2005-07-29 Thread D. Walsh

On Jul 29, 2005, at 09:49 AM, Salil Kulkarni wrote:

> Hi,
> I want to use the 'rrdtool graph' functionality from a PHP script  
> on Mac OS
> X Darwin. Is there any other way to execute the command besides  
> using the
> 'system()' function in PHP.
>
> It would be great to have any suggestions.
>
> Thanks,
> Salil.

Take a look at:
http://www.mustangrestomods.com/info.php
http://www.mustangrestomods.com/rrdtool_info.php

to see it in action:
http://www.mustangrestomods.com/info.php
(This version of the amavis-stats app is not a publicly available  
since I have modified this and it never got submitted for release)


This is not the same PHP stuff included with RRDTOOL.

I did a major rewrite because it had problems with Darwin, Mac OSX  
and some versions of FreeBSD.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi


[rrd-users] Re: help with librrd_th

2005-07-29 Thread Kevin C.


> "Stephen Hall writes:"
>>
>> Can someone
>> tell me how to call rrd_get_context() and interpret the results.  Or 
>> better
>> yet, can someone point me to a document that explains how to use the C 
>> API
>> (multi-threaded or otherwise)?
>
>   Since the silence on this topic was deafening I conclude that this stuff
> is simply not documented at all.  I suppose that if it was hard to write 
> it
> should be even harder to use.  Thanks anyway.

I want to use rrdtool in C/C++. Would love to help create some sort of 
bindings or do something with the rrdtool source code.

I had a look through the rrdtool.h header files, etc. I guess one would use 
the header files for the functions, and then link in the librrdtool or 
librrd_th. All the functions are in the header files... even though there's 
quite a lot of 'em.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi


[rrd-users] Re: help with librrd_th

2005-07-29 Thread Stephen Hall
"Stephen Hall writes:"
> 
> Can someone
> tell me how to call rrd_get_context() and interpret the results.  Or better
> yet, can someone point me to a document that explains how to use the C API
> (multi-threaded or otherwise)?

   Since the silence on this topic was deafening I conclude that this stuff
is simply not documented at all.  I suppose that if it was hard to write it
should be even harder to use.  Thanks anyway.

==
--Stephen Hall   ma_bellnet: (512)835-3074
  Sr. Operating Systems Specialistinternet: [EMAIL PROTECTED]

   When I die I want to go peacefully. Like my grandfather did, in his sleep.
 Not screaming like the passengers in his car.

 > > > > > > > > > > > > > Visualize Whirled Peas! < < < < < < < < < < < < < <

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi


[rrd-users] Re: PHP and RRDTool

2005-07-29 Thread Per Jessen
Salil Kulkarni wrote:

> I want to use the 'rrdtool graph' functionality from a PHP script on Mac OS
> X Darwin. Is there any other way to execute the command besides using the
> 'system()' function in PHP.

You could attach "rrdtool -" as a thread, and pipe commands to it.  

Also, some quick googling revealed: 
http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview
php-rrdtool-0-1.0.49-4.el4.kb.html


/Per Jessen, Zürich

-- 
http://www.spamchek.com/freetrial - managed anti-spam and anti-virus solution.
Sign up for your free 30-day trial now!


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi


[rrd-users] PHP and RRDTool

2005-07-29 Thread Salil Kulkarni
Hi,
I want to use the 'rrdtool graph' functionality from a PHP script on Mac OS 
X Darwin. Is there any other way to execute the command besides using the 
'system()' function in PHP.

It would be great to have any suggestions.

Thanks,
Salil.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi


[rrd-users] Re: Magnitude Crazy

2005-07-29 Thread Per Jessen
Robert Reilly wrote:

> I am at wits end... ;-) I have a rrrdtool receiving load average data
> from nagios. Single value such as .01, .15 or 1.0. no matter what math I
> use the magnitude does not calculate out correct using rrdgraph. Any
> thoughts? I can send more info if needed.

I think you'll have to explain in a bit more detail, maybe provide a graph 
sample, and
also add your rrdgraph input.  (DEFs, CDEFs etc). 


/Per Jessen, Zürich

-- 
http://www.spamchek.com/freetrial - managed anti-spam and anti-virus solution.
Sign up for your free 30-day trial now!


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi