19.4 The Graphics Specialist drraw

From the RRD databases, generated for example by Perf2rrd or Nagios-graph, the CGI script drraw creates interactive graphics—simple ones relatively quicky, whereas for more complex ones you need to know a bit more about the RRDtools.[200]

19.4.1 Installation

For the drraw installation, you need to obtain the current tar file from http://www.taranis.org/drraw/ and unpack it to its own subdirectory in the CGI hierarchy[201] on the Web server:

linux:~ # cd /usr/lib/cgi-bin
linux:lib/cgi-bin # tar xvzf /path/to/drraw-2.1.1.tar.gz
drraw-2.1.1/
...
drraw-2.1.1/drraw.cgi
drraw-2.1.1/drraw.conf
drraw-2.1.1/icons/
...

The directory created by this is then renamed to drraw:[202]

linux:lib/cgi-bin # mv drraw-2.1.1 drraw

drraw.cgi ...

Get Nagios, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.