This utility gives you a quick database less, web solution to keep a tab on your all your Linux servers and its physical/virtual components such as Memory, Disk, CPU etc. It can be customized to send any data and opens up limitless options for monitoring.

FEATURES

1. Agent less monitoring
2. All hostnames and its details are displayed on your browser in a table, which can be easily sorted based on values, by clicking on the table header.
3. Any component that has reached the threshold such as disk space, memory, CPU Load etc will get automatically highlighted.
4. Set custom global Threshold values for Memory, CPU and Disk usage, for alerts.
5. View Critical mount points or top processes directly from the webpage
6. Quick AJAX search feature allows you to search for a hostname or any data on the table easily.
7. Self refreshing Table, updates status of all your hosts, every 5 minutes.
8. Simple light weight monitoring solution for less than 1MB
9. Consumes extremely less CPU, Memory and disk resource.

SCREENSHOT

Monitoring Console screenshot
Monitoring Console screenshot

SETUP INSTRUCTIONS

Download the archive and install script from DOWNLOADS to the monitoring host from where you want to run the monitoring

Make sure you have both the tar-file and install script in the same directory.
Provide execute permissions to the install script and run the install script.

$ sudo chmod +x mylinuxmon-install.sh
$ sudo ./mylinuxmon-install.sh

Update list of hosts that you’d like to monitor in /opt/mylinuxmon/core/host_list. This file should contain one server-name per line, such as
hostname1.domain.com
hostname2.domain.com
hostname3.domain.com
hostname4.domain.com

You need to have a common userID (For instance, lets call this Mymon-ID) on all hosts that you’d like to monitor, including the host on which you have installed this tool (For instance, lets call this Monitoring host). You also need to have password less authentication enabled to all the remote hosts from the Monitoring host.

In case you don’t have public key file for Mymon-ID (/home/Mymon-ID/.ssh/id_rsa.pub), you can create one with the following command after logging in as Mymon-ID.

ssh-keygen -t rsa

Upload this pub file to all hosts, using the below pssh command. (Assuming that the password for the ID is the same on all hosts). PSSH comes with the Download. The install script installs PSSH in case its not already available on the Monitoring host

$ cat /home/Mymon-ID/.ssh/id_rsa.pub | pssh -h /opt/mylinuxmon/core/host_list -l mymonid -A -I -i 'umask 077; mkdir -p ~/.ssh;
ak=~/.ssh/authorized_keys; cat - >> $ak; sort -u $ak -o $ak'

In case you’re password is different for Mymon-ID on different hosts, you may have to use a conventional method to upload public keys, that will require you to type the password for hostnames listed in the ‘host_list’ file separately when it’s prompted.

$ for i in `cat /opt/mylinuxmon/core/host_list`; do ssh-copy-id $i; done

Once this is done, allow some time for the tool to update reports. You should start seeing reports at http://Your-Monitoring-Host.Domain:9000 OR http://Your-IP-Address:9000

You can change the % of Threshold for Disk, CPU and Memory globally in /opt/mylinuxmon/core/mylinuxmon.config, based on which the report will highlight a threshold breach. If these values are not set, default values will be applied.

DISCLAIMER

This tool is supplied “AS IS” without any warranties and support. By setting up this tool in your environment or system, you completely agree that we cannot be held responsible for loss of Data or security breaches. UnixUtils assumes no responsibility or liability for the use of this tool, conveys no license or title under any patent, copyright, or mask work right to the product. UnixUtils reserves the right to make changes in the tool without notification. UnixUtils also makes no representation or warranty that such tool will be suitable for the specified use without further testing or modification.