improve Server Statistic Using Xfilesharing With Munin

Powerfull XFileSharing version

Moderator: admin

Message
Author
sherayusuf3
Posts: 94
Joined: Jan 18, 2009 4:29 am
Location: Jakarta Indonesia
Contact:

improve Server Statistic Using Xfilesharing With Munin

#1 Postby sherayusuf3 » Nov 20, 2009 3:05 am

he i just wanna share how to add more statistic with munin for u server on
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>


after

Code: Select all

<img src="<TMPL_VAR pay_url>" class="pic">
<br><br>


go to http://your-site.com/?op=admin_stats

you will see munin integration with Xfile sharing statistic
Screnshoot

Image

Image




hope this help
questions and suggestions email to [email protected]


Thnks
Yusuf Hadiwinata

Hendrickson
Posts: 90
Joined: Nov 18, 2009 9:15 pm

#2 Postby Hendrickson » Nov 20, 2009 8:56 am

wow looks good, but what effect will this have on the server load? thats my concern.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 2 guests