[rrd-users] How to call rrd_cgi.exe correctly?

c.w.vandervelden at kpn.com c.w.vandervelden at kpn.com
Mon Aug 21 08:28:27 MEST 2000


Sorry for this probably simple newby question.

How do I call the rrd_cgi examples (what is the accompanying URL) from the
rrd_cgi manual?
I'm fresh to rrd and cgi and wasn't able to figure this out from the
manuals.

I've tried to make an example of my own (like example 1) but it doesn't show
up yet.

#!/usr/local/bin/rrd_cgi
 <HTML>
 <HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
 <BODY>
 <H1>RRDCGI Example Page</H1>
 <P>
 <RRD::GRAPH demo.gif --lazy --title="Radius Requests"
	DEF:TAR=radius1.rrd:TotAccReq:AVERAGE
	DEF:TAA=radius1.rrd:TotAccAcc:AVERAGE 
	DEF:TARej=radius1.rrd:TotAccRej:AVERAGE
	AREA:TAR#00FF00:"Total Access Requests"
	LINE1:TAA#0000FF:"Total Access Accepts"
	LINE1:TARej#FF0000:"Total Access Rejects"
 </P>
<H2> END </END>
 </BODY>
 </HTML>

When I run it using the URL:
http://myserver/cgi-bin/rrd_cgi.exe?d:\inetpub\wwwroot\cgi-bin\demo.html it
tells me:

RRDCGI Example Page

[ERROR: can't parse '

']

I'm working on NT, using rrdtool 1.0.24 placing the binaries (rrd_cgi and
rrdtool) into the cgi-bin directory.

Any hints?

Thanks,
	Karel van der Velden

----------------------------------------------------------------------------
---
Karel van der Velden            | Telephone : +31 50 5851003
KPN Telecom                     | Telefax   : +31 50 5853454
ICT/BPG P&C 2                   | E-mail    : C.W.vanderVelden at kpn.com
P.O. Box 188                    | DISCLAIMER: This Statement is not an
official
NL-9700 AD Groningen            | statement from, nor does it  represent an
The Netherlands                 | official position of, KPN Telecom 
----------------------------------------------------------------------------
---


--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list