I just installed MRTG on 3 RH 9 machines using the following method.
1: rpm -e mrtg
2: rpm http://download.cheetaweb.com/mrtg-2.9.17-1cpanel.i386.rpm -Uvh
(That's download.cheetaweb.com/mrtg-2.9.17-1cpanel.i386.rpm ... the forum script may cut it off)
3: cd /usr/lib
4: mv libpng.so.2 libpng.so.2.OLD ... OR rm libpng.so.2 (your choice)
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: Now check http://YourMainIP/mrtg/
NOTE: You May See the following error three times on startup of mrtg ...
ls: /var/spool/exim/input/*-H: No such file or directory
This is normal ... don't worry about it.
Thanks to gpan from the RackShack forums for this RPM!
Thanks to Matt of MainArea.com for the origianl post for installing MTRG on RH7.3
it saved me a lot of work and only had to have a couple tweaks to get it to work
with RH9
One last thing ...
You'll notice the graphs "grow" from the left by default. Matt of MainArea.com
has been nice enough to rework that with the "Grow Right" tweak. You can download
that at http://www.webhostingtalk.com/attachment.php?s=&postid=1778633 then replace
/etc/mrtg/mrtg.cfg with that file ...
Hope this helps!
1: rpm -e mrtg
2: rpm http://download.cheetaweb.com/mrtg-2.9.17-1cpanel.i386.rpm -Uvh
(That's download.cheetaweb.com/mrtg-2.9.17-1cpanel.i386.rpm ... the forum script may cut it off)
3: cd /usr/lib
4: mv libpng.so.2 libpng.so.2.OLD ... OR rm libpng.so.2 (your choice)
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: Now check http://YourMainIP/mrtg/
NOTE: You May See the following error three times on startup of mrtg ...
ls: /var/spool/exim/input/*-H: No such file or directory
This is normal ... don't worry about it.
Thanks to gpan from the RackShack forums for this RPM!
Thanks to Matt of MainArea.com for the origianl post for installing MTRG on RH7.3
it saved me a lot of work and only had to have a couple tweaks to get it to work
with RH9
One last thing ...
You'll notice the graphs "grow" from the left by default. Matt of MainArea.com
has been nice enough to rework that with the "Grow Right" tweak. You can download
that at http://www.webhostingtalk.com/attachment.php?s=&postid=1778633 then replace
/etc/mrtg/mrtg.cfg with that file ...
Hope this helps!