• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

snmp and mrtg

O

ozhank53

Guest
I'm fairly new to using plesk. If anyone has setup snmp and mrtg for monitoring server performance, I would appreciate some tips/pointers on how you did it.
 
Little MRTG HowTo

Here's my recent installation recipe:

- 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 !

I hope this helps ;)
 
Back
Top