graph.cgi - exporting remstats graphs
The purpose of graph.cgi
is to allow remstats graphs
to appear on external (not part of remstats) web-pages.
It's not efficient, with the graphs being generated whenever
the page is reloaded, but it is portable. All you do is to
create an <IMG SRC...> tag with the appropriate values, like:
<IMG SRC="/remstats/graph.cgi?host=aaa&rrd=bbb&graph=ccc&graphtime=ddd">
and replace aaa
with the name of the host, as remstats knows it, bbb
with the name of the RRD, ccc
with the name of the graph within that RRD,
and ddd
with the name of the timespan, from the
times config-file. If the RRD is a wildcard RRD, e.g.
snmpif-*
, then you must use the specific instance, e.g. snmpif-eth0
.
That's all there is to it.
Last updated Tue Apr 16 19:09:21 PDT 2002 by <thomas.erskine@sourceworks.com>.
[