[rrd-users] Problems with RRDcgi
bhumika joshi
badmash_bhumika at yahoo.com
Wed Jul 16 12:44:04 MEST 2003
hi ,
i am using mrtg-rrdtool to graph the cpu utilization of a windows server here.i got those GRAPHS i am attaching to this mail , but for this i had to execute an rrdtool graph instruction on the command line.
now i am trying to use rrdcgi to generate a web page containing my graphs .. my rrd cgi configuration is as follows ------------------------------------------------
<HTML>
<HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
<BODY>
<H1>RRDCGI Example Page</H1>
<P>
<RRD::GRAPH design.png --start 7/11/03 --en
d 7/16/03 --x-grid HOUR:6:HOUR:12:HOUR:12:0:%d:12%p --title "PCGSQL Processorloa
d " --vertical-label "CPU Utilization in % " --upper-limit 100 --rigid --width 6
00 --height 200 DEF:a=pcgsql.processorload.rrd:ds0:AVERAGE DEF:b=pcgsql.processorload.rrd:ds1:MAX CDEF
:t=a,b,+ CDEF:low=t,20,GT,0,t,IF CDEF:flg2=t,20,GT,1,0,IF CDEF:flg=t,40,GT,0,1,I
F CDEF:re=t,flg,* CDEF:res=re,flg2,* CDEF:high=t,70,GT,t,0,IF LINE3:t#000000:"T
otal cpu utilization" AREA:t#C10061:"In the range 40%-70%" AREA:low#1AEC77:"Less
than 20%" AREA:res#8080C0:"Between 20%-40!" AREA:high#0000DD:"Greater than 70%"
COMMENT: COMMENT: COMMENT:"UTILIZATION FOR THE MONTH OF JULY" COMMENT: COMMENT:
COMMENT:"LABEL KEY -- DAY:TIME:AM or PM">
</P>
</BODY>
</HTML>
-------------------------
i ve placed this cgi[named page.rrdcgi] in the cgi-bin directory .. the rrd files are also in the same directory ..
however when i try opening thie file from the browser it gives me a webpage with the OUTPUT PAGE i have attached to this mail ..
if i simply try opening the rrdcgi file with rrd_cgi (open with option in windows) i get the followinf line on the msdos prompt -->
(offline mode: enter name=value pairs on standard input)
can you please point out my mistakes .. thanks in advance
truly,
bhumika
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
-- Attached file removed by Ecartis and put at URL below --
-- Type: text/html
-- Desc: output graph.htm
-- Size: 1k (1104 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/output%20graph.htm
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/gif
-- Desc: GRAPH.png
-- Size: 43k (44985 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/GRAPH.png
--
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