Main image
24th June
2012
written by

เจอมาทำสำเร็จแล้วด้วยเลยขอแปะหน่อยกันลืมสุดๆ

อันบนผ่านเลย

The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network-links.

Following are the steps to install mrtg on cPanel servers:

1. rpm -e mrtg
2. wget http://www.dedicated-resources.com/files/mrtg-2.9.17-1cpanel.i386.rpm
3. rpm -Uvh mrtg-2.9.17-1cpanel.i386.rpm
4. cd /usr/lib
5. mv libpng.so.2 libpng.so.2.OLD
6. ln -s libpng.so.3 libpng.so viagrasstore.net.2
7. service mrtg restart

After completing the installation, MRTG report can be accessed from the URL as
given below:

—–

http://SERVER_IP/mrtg

—–

Authored by: Blessen

https://support.crucialp.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=98

อีกอันแปะเผื่อไว้

1: rpm -e mrtg
2: rpm http://www.interxstream.com/mrtg-2.9…panel.i386.rpm -Uvh
3: cd /usr/lib
4: mv libpng.so.2 libpng.so.2.OLD
5: ln -s libpng.so.3 libpng.so.2
6: pico /etc/sysconfig/i18n
7: change LANG to LANG=”en_US”
8: Start and stop MTRG several times ignoring errors … service mrtg start/stop/restart
9: chkconfig –add mrtg
10. Add this line to httpd.conf at ver top: Alias /mrtg/ /usr/local/apache/htdocs/mrtg/
11. Restart httpd – httpd stop -> httpd startssl
11: Now check http://YourMainIP/mrtg/

Don’t forget the trailing “/” on step 11….

Regards,
Damion

ถ้าลิ้ง wget เสีย ไปขุดเอาในเซิฟ โหลดไว้แล้ว (บอกตัวเอง)

Leave a Reply