The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MRTG Installation

Discussion in 'General Discussion' started by billau, Jul 29, 2004.

  1. billau

    billau Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane, Australia
    Installing MRTG (Easy steps)

    1. rpm -e mrtg (It should come back with: error: package mrtg is not installed)
    2. cd /usr/src
    3. wget http://download.cheetaweb.com/redhat/7.3/mrtg/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.2
    7. pico /etc/sysconfig/i18n
    8. change LANG to LANG="en_US"
    9. Start and stop MTRG several times ignoring errors ... service mrtg start/stop/restart
    10. chkconfig --add mrtg
    11. Now check http://YourMainIP/mrtg/

    # Ok, once you have restarted (3-5 times) there is a couple more things we have to do.
    # We need to tell up2date to NOT update MRTG or it will crash and destroy all we have done.

    12. up2date --configure
    13. Now find where it says "pkgSkipList" and type the number directly to the left of it (normally 8 or 9) eg : kernel -> kernel*; mrtg*; - > enter -> enter. Thats it.

    You can also check http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ for more info.
     
Loading...

Share This Page