While looking for help installing Munin (
https://en.wikipedia.org/wiki/Munin_(software)) on CWP I made a few notes. I thought of sharing them here in case they're useful (plus I'll be able to find them in the future).
This applies to CWP on CentOS6; it uses YUM so it may work on CentOS7 but I can't test it.
Install munin and munin-node:
yum -y install munin munin-node
I leave all the paths as they're defaults and munin will actually work now, but it makes sense to change some settings. Edit /etc/munin/munin.conf and change [localhost] to [your.hostname.com]. Not changing this will list your server as 'localhost' and changing this in the future will cause the accumulated history to be dropped.
Start munin-node and set it to start automatically (this is different on CentOS7):
service munin-node start
chkconfig munin-node start
The easiest way to get Munin accessible is to add it as an alias. Edit /usr/local/apache/domain-redirects.conf and append the last line:
RewriteEngine On
Alias /webftp /usr/local/apache/htdocs/webftp_simple
Alias /WebFTP /usr/local/apache/htdocs/webftp_simple
Alias /webftp_simple /usr/local/apache/htdocs/webftp_simple
Alias /munin /var/www/html/munin
Restart Apache:
service httpd restart
Visit any domain with the directory /munin and you should now get the Munin page. Cron is used to update the charts every five minutes and it takes a while - about a day - for the charts to become meaningful.
Optionally, the pages can be password protected using a standard .htaccess and .htpasswd file saved in the /var/www/html/munin directory.
If you get any problems they will most likely be paths or permissions. Check /etc/munin/munin.conf for the paths, or view the log files in /var/log/munin/.