projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo fixed
[rrdtool.git]
/
doc
/
rrdcgi.pod
diff --git
a/doc/rrdcgi.pod
b/doc/rrdcgi.pod
index
c48b059
..
96008ad
100644
(file)
--- a/
doc/rrdcgi.pod
+++ b/
doc/rrdcgi.pod
@@
-7,9
+7,7
@@
rrdcgi - create web pages containing RRD graphs based on templates
=head1 SYNOPSIS
#!/path/to/B<rrdcgi>
=head1 SYNOPSIS
#!/path/to/B<rrdcgi>
-S<[B<--goodfor>|B<-g> I<seconds>]>
S<[B<--filter>]>
S<[B<--filter>]>
-S<[B<--refresh>|B<-r>]>
=head1 DESCRIPTION
=head1 DESCRIPTION
@@
-30,11
+28,6
@@
The argument parser uses the same semantics as you are used from your c shell.
Assume that rrdcgi is being run as a filter and not as a cgi.
Assume that rrdcgi is being run as a filter and not as a cgi.
-=item B<--refresh>|B<-r>
-
-If the B<--goodfor> flag is specified, then B<--refresh> will cause rrdcgi
-to output a Refresh header with the value of the B<--goodfor> value.
-
=back
=head2 Pass 1
=back
=head2 Pass 1
@@
-127,7
+120,7
@@
be used:
<IMG SRC="%s" WIDTH="%lu" HEIGHT="%lu">
Note that %s stands for the filename part of the graph generated, all
<IMG SRC="%s" WIDTH="%lu" HEIGHT="%lu">
Note that %s stands for the filename part of the graph generated, all
-directories given in the
GIF
file argument will get dropped.
+directories given in the
PNG
file argument will get dropped.
=item RRD::PRINT I<number>
=item RRD::PRINT I<number>
@@
-147,7
+140,7
@@
The example below creates a web pages with a single RRD graph.
<BODY>
<H1>RRDCGI Example Page</H1>
<P>
<BODY>
<H1>RRDCGI Example Page</H1>
<P>
- <RRD::GRAPH demo.
gif
--lazy --title="Temperatures"
+ <RRD::GRAPH demo.
png
--lazy --title="Temperatures"
DEF:cel=demo.rrd:exhaust:AVERAGE
LINE2:cel#00a000:"D. Celsius">
DEF:cel=demo.rrd:exhaust:AVERAGE
LINE2:cel#00a000:"D. Celsius">
@@
-172,7
+165,7
@@
you want to use a source for your graph.
<INPUT TYPE=SUBMIT></FORM>
<H2>Graph</H2>
<P>
<INPUT TYPE=SUBMIT></FORM>
<H2>Graph</H2>
<P>
- <RRD::GRAPH <RRD::CV::PATH RRD_NAME>.
gif
--lazy
+ <RRD::GRAPH <RRD::CV::PATH RRD_NAME>.
png
--lazy
--title "Temperatures for "<RRD::CV::QUOTE RRD_NAME>
DEF:cel=<RRD::CV::PATH RRD_NAME>.rrd:exhaust:AVERAGE
LINE2:cel#00a000:"D. Celsius">
--title "Temperatures for "<RRD::CV::QUOTE RRD_NAME>
DEF:cel=<RRD::CV::PATH RRD_NAME>.rrd:exhaust:AVERAGE
LINE2:cel#00a000:"D. Celsius">
@@
-192,8
+185,8
@@
cgi-bins are seperate directories
<BODY>
<H1>RRDCGI test Page</H1>
<RRD::GRAPH
<BODY>
<H1>RRDCGI test Page</H1>
<RRD::GRAPH
- /.../web/
gifs/testhvt.gif
- --imginfo '<IMG SRC=/.../
gif
s/%s WIDTH=%lu HEIGHT=%lu >'
+ /.../web/
pngs/testhvt.png
+ --imginfo '<IMG SRC=/.../
png
s/%s WIDTH=%lu HEIGHT=%lu >'
--lazy --start -1d --end now
DEF:http_src=/.../rrds/test.rrd:http_src:AVERAGE
AREA:http_src#00ff00:http_src
--lazy --start -1d --end now
DEF:http_src=/.../rrds/test.rrd:http_src:AVERAGE
AREA:http_src#00ff00:http_src
@@
-203,7
+196,7
@@
cgi-bins are seperate directories
Note 1: Replace /.../ with the relevant directories
Note 1: Replace /.../ with the relevant directories
-Note 2: The SRC=/.../
gif
s should be paths from the view of the
+Note 2: The SRC=/.../
png
s should be paths from the view of the
webserver/browser
=head1 AUTHOR
webserver/browser
=head1 AUTHOR