http://yourdomain.com/?op=admin_stats
1. install munin
on ubuntu sudo "apt-get install munin munin-node" and configure munin client
on redhat fam*
Enable The RPMforge Repository
wget http://packages.sw.be/rpmforge-release/ ... f.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rm -f rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install munin munin-node
on u default virtual host for u server add
Code: Select all
Alias /munin/ "/var/www/munin/"
<Directory "/var/www/munin/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
try access u munin http://serversite.com/munim/
klik on localhost.localdomain
klik on :: Disk usage (in percent) by day
you will see disk usage in percent byd day, mount , years, and week
right click on disk usage in perfect by day, choice "view image"
copy paste address of image localhost.localdomain-df-day.png on notepad
go to u shell
cd /path/u/cgi-bin/Templates
edit admin_stats.html
add
Code: Select all
<img src="http://your-site.com/munin/localdomain/localhost.localdomain-mysql_bytes-day.png" class="pic">
<br><br>
Code: Select all
<img src="<TMPL_VAR pay_url>" class="pic">
<br><br>
you will see munin integration with Xfile sharing statistic
Screnshoot
hope this help
questions and suggestions email to [email protected]
Thnks
Yusuf Hadiwinata