Difference between revisions of "SUNScholar/Disaster Recovery/System Monitor"

From Libopedia
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<center>
 +
'''[[SUNScholar/Disaster Recovery|Back to Disaster Recovery]]'''
 +
</center>
 
==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==
+
To setup a similar system, first configure the server and then configure the clients. We selected the backup server with the most resources to act as our monitoring server as well.
Login and become the root user.
+
==Instructions==
 +
===[[SUNScholar/Disaster Recovery/System Monitor/Server|Step 1 - Server Setup]]===
  
[[SUNScholar/Disaster_Recovery/Preparation|Click here to create a PostgreSQL credentials file.]] Then continue.
+
===[[SUNScholar/Disaster Recovery/System Monitor/Client|Step 2 - Client Setup]]===
  
Install munin as follows:
+
==YouTube Video==
apt-get install libdbd-pg-perl
+
<html5media width="560" height="315">https://www.youtube.com/watch?v=pGSn2CA5u7Y</html5media>
  
apt-get install munin-node
+
==References==
Setup munin to allow the monitoring server to gather statistics as follow:
+
*http://en.wikipedia.org/wiki/Munin_(network_monitoring_application)
nano /etc/munin/munin-node.conf
+
*http://munin-monitoring.org
Add the following to the bottom of the file:
+
*http://lintut.com/best-free-monitoring-system-for-linux
allow $ip-address-of-monitoring-server%
+
*http://www.tecmint.com/linux-system-monitoring-troubleshooting-tools
Change the following:
+
*http://www.tecmint.com/install-munin-network-monitoring-in-rhel-centos-fedora
host_name %hostname-of-client%
+
[[Category:System Administration]]
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.
 

Latest revision as of 10:26, 28 August 2016

Back to Disaster Recovery

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.

To setup a similar system, first configure the server and then configure the clients. We selected the backup server with the most resources to act as our monitoring server as well.

Instructions

Step 1 - Server Setup

Step 2 - Client Setup

YouTube Video

References