Page 1 of 1

MRTG for Plesk 7.5??

Posted: Fri Aug 26, 2005 7:22 am
by Zenith
I'm wondering if anyone has got MRTG working on Plesk 7.5?

And if so is there a howto available?

Many thanks in advance

Z

I've got it working: http://forums.sw-soft.com/showthread.ph

Posted: Sat Aug 27, 2005 9:39 pm
by niel
Hi,

I wrote a litle step-by-step guide some time ago:

- PRIVATE = My SNMP zone, for security, I choosed one hard to guess
- MYDOMAIN = mydomain.com
# = run as root

1 - /etc/snmpd.conf changed to my prefs (PRIVATE zone, system location, admin email...).
2 - #/etc/init.d/snmpd start
3 - #yum install mrtg
4 - #cp /etc/mrtg/mrtg.cfg /etc/mrtg/mrtg.cfg.OLD
5 - #cfgmaker --output=/etc/mrtg/mrtg.cfg --global 'Workdir: /var/www/mrtg/data' --global 'Options[_]: growright,bits,unknaszero' --global'Weekformat[^]: V' PRIVATE@MYDOMAIN
6 - #mv /var/www/mrtg/index.html /var/www/mrtg/index.html.OLD
7 - #indexmaker --output=/var/www/mrtg/index.html --columns=1 --autoprefix /etc/mrtg/mrtg.cfg
8 - #/usr/bin/mrtg /etc/mrtg/mrtg.cfg --logging /var/log/mrtg.log <<< (people say to run this, ony the first time, for 5 or 6 times, but I don't know the reason)
9 - I removed /etc/cron.d/mrtg as it was also defined in /var/spool/cron/root
10 - Then I had my network summary at http://MYDOMAIN/mrtg !

http://forums.sw-soft.com/showthread.php?threadid=22169

:)

Posted: Sun Aug 28, 2005 3:50 pm
by Zenith
I'll give that a go next week and see how it goes.

There are some Spamassassin & ClamAV plugins for MRTG around which must document the installs of and place online too.

Many thanks Neil,
Z