Before we go into it, this RPM was made by gpan (cheetaweb.com) and full credit goes out to him for this fantastic script!
log into your server as root and follow the information below.
# represents a command
// represents a comment
Disclaimer: The RPM is installed with no warranty of any kind and neither I, nor the makers of this RPM will take responsibility if it damages you server in any way, shape or form.
This version of MRTG has the following (Yes, a premade CFG is included ) :
- Traffic
- Open Connections
- Load Averages
- Swap memory
- Processes
- Uptime & idle time
- CPU Usage
- Memory Usage
Some may not work with DA, although i believe they all should. If you have any problems, comments or suggestions please post them in this thread
# mkdir mrtg
# cd mrtg
# wget http://prowebuk.com/files/mrtg/mrtg-2.9.17-4ct.i386.rpm
// if you wish to check the MD5, it is MD5: 013a1ee47032b6b7ab5147ca1960e56f
# rpm -Uvh mrtg-2.9.17-4ct.i386.rpm
// Check that a cron line for mrtg has not been added in /etc/crontab
// you can run MRTG by running the following command:
# service mrtg start
You may recieve errors the first few times you run this, if you wish to remove the errors run the following command until you get a simple message stating it is starting MRTG:
# service mrtg restart
// MRTG Will not run as default when you reboot your server, to fix this do the following:
# pico -w /etc/rc.d/rc.local
// at the bottom of the file add the following line:
/etc/rc.d/init.d/mrtg start
// exit and save by press ctrl & X, press y to save.
// You can now access your mrtg graphs by visiting:
http://SERVER_IP/mrtg/
Enjoy it!
** FIXES ADDED IN POST BELOW **
Chris
log into your server as root and follow the information below.
# represents a command
// represents a comment
Disclaimer: The RPM is installed with no warranty of any kind and neither I, nor the makers of this RPM will take responsibility if it damages you server in any way, shape or form.
This version of MRTG has the following (Yes, a premade CFG is included ) :
- Traffic
- Open Connections
- Load Averages
- Swap memory
- Processes
- Uptime & idle time
- CPU Usage
- Memory Usage
Some may not work with DA, although i believe they all should. If you have any problems, comments or suggestions please post them in this thread
# mkdir mrtg
# cd mrtg
# wget http://prowebuk.com/files/mrtg/mrtg-2.9.17-4ct.i386.rpm
// if you wish to check the MD5, it is MD5: 013a1ee47032b6b7ab5147ca1960e56f
# rpm -Uvh mrtg-2.9.17-4ct.i386.rpm
// Check that a cron line for mrtg has not been added in /etc/crontab
// you can run MRTG by running the following command:
# service mrtg start
You may recieve errors the first few times you run this, if you wish to remove the errors run the following command until you get a simple message stating it is starting MRTG:
# service mrtg restart
// MRTG Will not run as default when you reboot your server, to fix this do the following:
# pico -w /etc/rc.d/rc.local
// at the bottom of the file add the following line:
/etc/rc.d/init.d/mrtg start
// exit and save by press ctrl & X, press y to save.
// You can now access your mrtg graphs by visiting:
http://SERVER_IP/mrtg/
Enjoy it!
** FIXES ADDED IN POST BELOW **
Chris
Last edited: