Getting Started
Prerequisites
To begin using Easy Monitor, some items are required:
Prerequisites: Compatible Linux operating system:
- Debian, Ubuntu, RedHat, CentOS, Fedora, Suse, Amazon Linux, Oracle Linux
- Superuser access or sudo permissions.
- Basic knowledge of the Linux command line.
- Git installed on your system.
- Docker and Docker Compose installed on your system.
Steps to Get Started:
Installing Git (using apt)
If you are using a Debian or Ubuntu-based system or derivatives, you can install Git using the command:
$ sudo apt update
$ sudo apt install git
Installing Git (using yum)
If you are using a RedHat, CentOS, Amazon Linux, or derivatives, you can install Git using the command:
$ sudo yum update
$ sudo yum install git
Cloning the Project:
First, you need to clone the Easy Monitor repository to your system. You can do this by executing the following command in your terminal:
$ git clone https://dev.azure.com/db1global/DGS%20Accelerators/_git/easy-monitor
After cloning the repository, navigate to the directory:
$ cd easy-monitor
Running Easy Monitor Health Checking
Navigate to the easy-monitor directory and run the command "easy-monitor hc" to check and install Docker and Docker Compose. This command will detect your Linux distribution and automatically install the necessary tools.
$ chmod +x easy-monitor
$ ./easy-monitor hc
Verifying the installation of Docker and Docker Compose
Run the following command:
$ ./easy-monitor hc
Checking the version of Docker and Docker Compose
Run the following commands:
$ docker -v
$ docker-compose -v
Running the easy-monitor command
If you run the script without any parameters, it will display a help message and list the available commands.
$ ./easy-monitor
That's it, now the tool is ready to use!