1 #! @exec_prefix@/bin/rrdcgi
3 <HTML>
4 <HEAD>
5 <TITLE>RRDCGI Demo</TITLE>
6 </HEAD>
7 <BODY>
8 Note: This Demo will only work if have previously run
9 the <TT>shared-demo.pl</TT>.
11 <H1>This is NOT traffic</H1>
14 <P><RRD::GRAPH cgi-demo1.png
15 --lower-limit 0
16 --start 'end-10h'
17 --title "Graph in Localtime <RRD::TIME::NOW %c>"
18 DEF:alpha=shared-demo.rrd:a:AVERAGE
19 DEF:beta=shared-demo.rrd:b:AVERAGE
20 AREA:alpha#0022e9:"Trees on Mars"
21 STACK:beta#00b871:"Elchs in Norway">
22 </P>
24 <P><RRD::SETENV TZ UTC>
25 <RRD::GRAPH cgi-demo2.png
26 --lower-limit 0
27 --start 'end-10h'
28 --title "Graph in UTC"
29 DEF:alpha=shared-demo.rrd:a:AVERAGE
30 DEF:beta=shared-demo.rrd:b:AVERAGE
31 AREA:alpha#0022e9:"Trees on Mars"
32 STACK:beta#00b871:"Elchs in Norway">
33 </P>
35 </BODY>
36 </HTML>