no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


cgp [2015/06/02 13:46] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Collected Graph Panel ======
  
 +CGP is a PHP web-interface providing access to graphs generated from RRD files made by [[collectd]].  It makes pretty pictures!
 +
 +==== Setup ====
 +
 +Download the git HEAD to a public directory.
 +
 +<code>
 +git clone http://git.nethuis.nl/pub/cgp.git
 +</code>
 +
 +Edit ''conf/config.php'' and make sure the variables are correct.  Set the version variable to the same version of collectd.
 +
 +=== Apache Configuration ==
 +
 +<code>
 +Alias /cgp "/var/www/localhost/htdocs/cgp"
 +<Directory "/var/www/localhost/htdocs/cgp">
 +AllowOverride None
 +Options None
 +Order deny,allow
 +Deny from all
 +Allow from 1.2.3.4
 +Allow from 127.0.0.1
 +</Directory>
 +</code>
 +
 +== CPanel Integration ==
 +
 +On some CentOS installations, with CPanel installed, you'll need to edit a specific file to get the CGP alias working:
 +
 +''/usr/local/apache/conf/includes/post_virtualhost_global.conf''
 +
 +=== Notes ===
 +
 +Your PHP setup must disable all error reporting.  PHP errors will cause the graphs not to be generated, but will not be displayed on the web interface.

Navigation
QR Code
QR Code cgp (generated for current page)