mod_rrd  1.0.1
About: mod_rrd is an Apache httpd module to render RRD graphs via a webserver.
  Fossies Dox: mod_rrd-1.0.1.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mod_rrd Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies mod_rrd-1.0.1.tar.bz2 contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).
README.md

mod_rrd

Apache httpd module to render RRD graphs via a webserver.

Depends on rrdtool from https://oss.oetiker.ch/rrdtool/.

Example config:

<IfModule mod_rrd.c>
<Directory "/var/lib/collectd/rrd">
  Require all granted
</Directory>
Alias /rrd /var/lib/collectd/rrd
<Location /rrd>
  RRDGraph on
  RRDGraphEnv METHODS %{REQUEST_METHOD}
  RRDGraphOption title :%{SERVER_NAME}
  RRDGraphElement DEF:ifOutOctets=monitor*.rrd:ifOutOctets:AVERAGE
  RRDGraphElement VDEF:ifOutOctetsmax=ifOutOctets,MAXIMUM
  RRDGraphElement CDEF:combined=ifOutOctets,1,+
  RRDGraphElement LINE1:ifOutOctets#00ff00:Out+Octets :%{SERVER_NAME}
  RRDGraphElement AREA:ifOutOctets#00ff00:Out+Octets :%{SERVER_NAME}
  RRDGraphElement TICK:ifOutOctets#00ff00:1.0:Failures :%{SERVER_NAME}
  RRDGraphElement "VRULE:0#FF0000:dashed line:dashes" :%{SERVER_NAME}
  RRDGraphElement "HRULE:0#FF0000:dashed line:dashes" :%{SERVER_NAME}
  RRDGraphElement "COMMENT:Foo" %{env:METHODS}
</Location>
</IfModule>