https://bugzilla.novell.com/show_bug.cgi?id=878478
https://bugzilla.novell.com/show_bug.cgi?id=878478#c0
Summary: documentation page needs updating at
http://en.opensuse.org/Cacti - fixes included here.
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Wiki
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: doiggl@velocitynet.com.au
QAContact: adrian@suse.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101
Firefox/29.0 SeaMonkey/2.26
documentation page needs updating at http://en.opensuse.org/Cacti -fixes
included here.
Documentation which needs fixing at http://en.opensuse.org/Cacti
Fixes listed below. old and new line replacements.
old line:
DocumentRoot /srv/www
#
Apache Configuration
The Cacti files are located in /srv/www/cacti.
We use a VirtualHost to facilitate our work:
cd /etc/apache2/vhosts.d/
cp vhost.template cacti.conf
vim cacti.conf
Edit the necessary fields. See example:
ServerAdmin rauhmaru@localhost.org
ServerName localhost
DocumentRoot /srv/www/
ErrorLog /var/log/apache2/cacti-error_log
CustomLog /var/log/apache2/cacti-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
<IfModule mod_userdir.c>
UserDir public_html
Include /etc/apache2/mod_userdir.conf
</IfModule>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Define the user wwwrun of group www as owner of the Cacti files
# chown -Rv wwwrun:www /srv/www/cacti/
[New section added]
Add line to crontab - this runs every 5 minutes - used for data gathering.
*/5 * * * * /srv/www/cacti/poller.php > /dev/null 2>&1
# httpd2 -S
VirtualHost configuration:
*:80 127.0.0.1 (/etc/apache2/vhosts.d/cacti.conf:1)
ServerRoot: "/srv/www"
Main DocumentRoot: "/srv/www/htdocs"
Main ErrorLog: "/var/log/apache2/error_log"
Mutex mpm-accept: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/run/" mechanism=default
PidFile: "/run/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="wwwrun" id=30
Group: name="www" id=8
# cat /etc/hosts
# IP-Address Full-Qualified-Hostname Short-Hostname
127.0.0.1 localhost localhost.org
Reproducible: Always
Steps to Reproduce:
1. Documentation needs updating.
Expected Results:
documentation should work.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.