Difference between revisions of "SUNScholar/Disaster Recovery/System Monitor"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
==Introduction== | ==Introduction== | ||
Now that you have a large number of servers you would like to know how they are performing and be informed of potential problems. At our library we use '''munin''' to do this. | Now that you have a large number of servers you would like to know how they are performing and be informed of potential problems. At our library we use '''munin''' to do this. | ||
| − | == | + | ==[[SUNScholar/Disaster Recovery/System Monitor/Server|Server Setup]]== |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Client Setup== | ==Client Setup== | ||
Revision as of 11:45, 31 August 2012
Introduction
Now that you have a large number of servers you would like to know how they are performing and be informed of potential problems. At our library we use munin to do this.
Server Setup
Client Setup
Login and become the root user.
Click here to create a PostgreSQL credentials file. Then continue.
Install munin as follows:
apt-get install libdbd-pg-perl
apt-get install munin-node
Setup munin to allow the monitoring server to gather statistics as follow:
nano /etc/munin/munin-node.conf
Add the following to the bottom of the file:
allow $ip-address-of-monitoring-server%
Change the following:
host_name %hostname-of-client%
Save the file. Run the following command to check to update stats available:
munin-node-configure --shell | bash -
Check which stats are available
cd /etc/munin/plugins
Add a firewall rule to allow the monitoring server to get the stats:
ufw allow 4949
Thats it. As usual there is a lot of documentation about Munin out there.