[rrd-users] Re: Who is using RRDTool with a NSLU2 "SLUG"
Rob Conway
rjconway at bigpond.com
Thu Nov 9 05:12:13 MET 2006
I am trying to get rrdcgi to function on a simple test page with the
following results.
The web page error states "[ERROR: opening '_public/aquaph.rrd': No such
file or directory]
I have tried both of the following however still seems to place an
underscore ( _ ) in the path to my rrd
<FORM><INPUT NAME=RRD_NAME TYPE=RADIO VALUE=/public/aquaph>rrdname1,
<FORM><INPUT NAME=RRD_NAME TYPE=RADIO VALUE=public/aquaph>rrdname1,
######WEB PAGE########
HEAD>
RRDCGI Example Page for /website/ph1d /public/aquaph
Selection
trend name, rrdname1,
Graph
[ERROR: opening '_public/aquaph.rrd': No such file or directory]
###CGI FILE ####
#!/opt/bin/rrdcgi
<HTML>
HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
<BODY>
<H1>RRDCGI Example Page for <RRD::CV png_NAME> <RRD::CV RRD_NAME></H1>
<H2>Selection</H2>
<FORM><INPUT NAME=png_NAME TYPE=RADIO VALUE=/website/ph1d> trend name,
<FORM><INPUT NAME=RRD_NAME TYPE=RADIO VALUE=/public/aquaph>rrdname1,
<INPUT TYPE=SUBMIT></FORM>
<H2>Graph</H2>
<P>
<RRD::GRAPH <RRD::CV::PATH png_NAME>.png
--title "Temperatures for "<RRD::CV::QUOTE RRD_NAME>
DEF:phv=<RRD::CV::PATH RRD_NAME>.rrd:ph:AVERAGE
LINE2:phv#00a000:"ph value">
</P>
</BODY>
</HTML>
----- Original Message -----
From: "Matt" <mjoyce at iinet.net.au>
To: <rrd-users at list.ee.ethz.ch>
Sent: Thursday, November 09, 2006 7:07 AM
Subject: [rrd-users] Re: Who is using RRDTool with a NSLU2 "SLUG"
> Rob, your problem really isn't an RRDTOOL issue, it's a web server issue.
> You need your web server to spawn an external command, either (preferably)
> via php, or perhaps a shell command.
>
> Have you tried asking on irc #openslug ?
>
> -----Original Message-----
> From: rrd-users-bounce at list.ee.ethz.ch
> [mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Rob Conway
> Sent: Wednesday, 8 November 2006 10:45 PM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] Re: Who is using RRDTool with a NSLU2 "SLUG"
>
> I am using rrdtool - 1.2.14-1 which I upgraded to yesterday. I don't
> know if it supports php. My web server does support cgi files.
>
> I have removed the resistor fromt he nslu2 and it runs at 233mhz. I
> also run 1wire devices and gather 4 temperatures and 8 analog values
> which I hope to expand soon. I have found I get an occasional error on
> the 1wire bus and believe it could be the rrdtool making my trend files
> and consuming all resources.
>
> Does anybody have an example web page that allows you to select the
> trend data and then select the time scale and create a trend file to be
> displayed. This would stop me having to continuously make these files
> just in case I want to look at them. My web server does support cgi
> files.
>
> this is where I am at now with my web server
> http://img.photobucket.com/albums/v319/rjconway/1wire.jpg
>
> Having some drop down menu box's to create 1 week, 1 month trends on the
> fly would complete the visualisation aspects.
>
> cheers
> rob
>
>
>
>
>
>
>
> George Barnett wrote:
>> Rob Conway wrote:
>>> I was hoping someone on this list was using rrdtool with the modified
>>> linux network hard drive by linksys (NSLU2 aka SLUG).
>>> Was hoping for some pointers in getting some web pages running to
>>> selectively to call up trends based upon some drop down lists
>>> selections of data and time frame.
>>>
>>> I am currently creating weekly, monthly trends every 15min & 4 hours
>>> and its loading up my NSLU2 processor. Was hoping to get a web page
>>> created that will run rrdtool in the background then display the
>>> graph. I am only using a small web server thttpd on the
>>> SLUG.....thus looking for people using rrdtool on small embedded
>>> processors that run thttpd. I believe there is a php-thttpd option
>>> as well.
>>
>> Have you considered 'overclocking' your slug?
>>
>> You can clock them to 233Mhz by removing a resistor. it's really
>> worth it.
>>
>> George
>>
>
>
> ----- Original Message -----
> From: "Rob Conway" <rjconway at bigpond.com>
> To: <rrd-users at list.ee.ethz.ch>
> Sent: Wednesday, November 08, 2006 11:32 AM
> Subject: [rrd-users] Who is using RRDTool with a NSLU2 "SLUG"
>
>
>>I was hoping someone on this list was using rrdtool with the modified
>>linux
>
>>network hard drive by linksys (NSLU2 aka SLUG).
>> Was hoping for some pointers in getting some web pages running to
>> selectively to call up trends based upon some drop down lists selections
>> of data and time frame.
>>
>> I am currently creating weekly, monthly trends every 15min & 4 hours and
>> its loading up my NSLU2 processor. Was hoping to get a web page created
>> that will run rrdtool in the background then display the graph. I am
>> only using a small web server thttpd on the SLUG.....thus looking for
>> people using rrdtool on small embedded processors that run thttpd. I
>> believe there is a php-thttpd option as well.
>>
>> cheers
>>
>> rob
>> --
>> 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
>>
>
> --
> 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
>
> --
> 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
>
--
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