2May/10Off
monitor server performance
A useful tool to monitor your server performance is munin.
Once you install this tool you can monitor trough web things like:
- Apache
- Disk
- Mysql
- Network
- Postfix
- Processes
- System
is very easy to install, you can use the following commands:
apt-get install munin munin-node
nano /etc/munin/munin.conf
and check this lines:
dbdir /var/lib/munin
htmldir /var/www/mysite/munin
logdir /var/log/munin
rundir /var/run/munin
tmpldir /etc/munin/templates
[server1.mysite.com]
address 127.0.0.1
use_node_name yes
and finally:
mkdir -p /var/www/mysite/munin
chown munin:munin /var/www/mysite/munin
/etc/init.d/munin-node restart