SUNScholar/Disaster Recovery/System Monitor/Server
Jump to navigation
Jump to search
- This wiki help page assumes that you have used the three system setup procedures to install an Ubuntu server with DSpace software.
- It is assumed that you will be using the same server for monitoring and backup. To setup munin to gather client statistics, follow the procedure below.
Contents
Add a firewall rule to allow the server to get the stats:
ufw allow 4949
To install munin, type the following:
apt-get install munin
Add the clients to the /etc/munin/munin.conf file as follows.
Open the file for editing
nano /etc/munin/munin.conf
Add one of the following for each client:
[%hostname-of-client%]
use_node_name yes
address %ip-address-of-client%
- NANO Editor Help
| CTL+O | = Save the file and then press Enter |
| CTL+X | = Exit "nano" |
| CTL+K | = Delete line |
| CTL+U | = Undelete line |
| CTL+W | = Search for %%string%% |
| CTL+\ | = Search for %%string%% and replace with $$string$$ |
| CTL+C | = Show line numbers |
More info = http://en.wikipedia.org/wiki/Nano_(text_editor)
Setup the munin server
munin-check
Wait for about 5 to 10 minutes for munin to gather data and then check out the stats as follows.
Open a web browser and type the following in the address bar:
http://%hostname-of-monitoring-server%/munin
You should get a page like this:
Back to Disaster Recovery System Monitor