Hi
I got
cacti up and running on groundwork comunity edition.
I did get almost all of the mentioned errors while following the guide as other members have reported
I did the following (more or less the initial description but in a different order)
(SORRY FOR THE VERY BAD FORMATTING>
Installing
cacti in groundworks
Prereqs – GWOS up and running
/files must exist
cd /files
wget
http://www.cacti.net/downloads/cacti-0.8.6k.tar.gztar –xzvf
cacti-0.8.6k.tar.gz
mv
cacti-0.8.6k
cactimv
cacti /usr/local/groundwork/apache2/htdocs/
mysqladmin --user=root create
cacticd /usr/local/groundwork/apache2/htdocs/
cactimysql
cacti <
cacti.sql
mysql --user=root mysql
GRANT ALL ON
cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
flush privileges;
exit
Edit
Cacti Config in /usr/local/groundwork/apache2/htdocs/
cacti/include/config.php and specify the MySQL user, password and database for your
Cacti configuration.
Add the
cacti poller to your /etc/crontab file:
*/5 * * * * root /usr/local/groundwork/bin/php /usr/local/groundwork/apache2/htdocs/
cacti/poller.php > /dev/null 2>&1
Add
cacti directory to the /usr/local/groundwork/apache2/conf/httpd.conf file for SSO
<Directory "/usr/local/groundwork/apache2/htdocs/
cacti">
AuthType Basic
require valid-user
TKTAuthLoginURL
http://<server>/monitor/index.php
TKTAuthCookieName cacti_auth_tkt
TKTAuthTimeout 0
</Directory>
Restart Apache
mkdir /usr/local/groundwork/apache2/htdocs/
cacti/log
In a browser add new menu to groundwork (wrapit under administration)
Wrappit
#General Tab:
Code:
Name:
CactiDesc:
CactiBase URL: /
cactiWelcome:
#Menu: (no sub menu's needed)
Code:
N/A
#SSO
Code:
Enable SSO
#Export
Code:
Install Package
###

Add view to admin
# Administration -> Roles -> Administrators
Code:
Add
cacti view
Logout & Login
#
Cacti should be one of the options in the drop-down menu now.
Use the new menu to install
Correct the paths during install (rest is default)
/usr/local/groundwork/bin/snmpwalk
/usr/local/groundwork/bin/snmpget
/usr/local/groundwork/bin/snmpbulkwalk
/usr/local/groundwork/bin/snmpgetnext
/usr/local/groundwork/bin/rrdtool
/usr/local/groundwork/bin/php
Login using admin/admin
# Edit
Cacti Config (part 2)
#Settings -> General Tab:
Code:
Select RRDTool Version: 1.2
#Settings -> Paths:
Code:
Verify paths are correct for your binaries
#Add fonts path:
Code:
/usr/local/groundwork/share/rrdtool/fonts
#Settings -> Visual (you can play with the fonts & sizes, these are what I use, just because it's the included font in rrdtool)
Code:
Title Font: 8
/usr/local/groundwork/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
Legend Font: 8
/usr/local/groundwork/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
Axis Font: 7
/usr/local/groundwork/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
Unit Font: 7
/usr/local/groundwork/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
#Settings -> Authentication (since we are using SSO. If you don't want SSO, leave this checked.)
Code:
Uncheck 'Use
Cacti's Builtin Auth'
Thats it - it works for me - it is not really a new install guide - but more or less a different order of doing things to avoid problems during
cacti install