What is sMonitor?
sMonitor is a server uptime monitor which is used to continuously monitor the online status of both local and remotely placed servers. It provides a detailed reporting system, SMS/e-mail notification alerts, and everything else that network administrators require for the efficient monitoring of the health of the servers.
In today’s document, we will dive into how to install sMonitor on Manjaro Linux. Manjaro is a free and open source Linux distribution. It is arch based. The reason behind its popularity is its focus on user friendliness and high efficiency. If you wish to learn more about this distribution of Linux, visit the following page:
We will install sMonitor using Manjro Linux’s command line, also known as ‘Terminal’. We will run a few easy to follow commands on the terminal to install the application. The installation will take around 5 minutes, at most.
Without any further ado, let’s get started!
Following are the steps involved in installing sMonitor on Manjaro Linux:
Step 1: Clone the git repository of Snapd
To install sMonitor on our machine, we will first have to make sure we have snapd installed on our system. If you don’t have it, clone its git repository using the following command:
git clone https://aur.archlinux.org/snapd.git
Step 2: Go to the Snapd directory
Now that we have cloned the git repository of snapd, let’s go inside the snapd directory where will build the package. To go to snapd, run the following command:
Step 3: Build the snapd package
We are now inside the snapd directory where we will build the snapd package. It can be done by executing the following command:
Step 4: Enable Snapd socket
Now let’s enable the systemd unit that is responsible for managing the main snap communication sockets. To do that, issue the following command:
sudo systemctl enable --now snapd.socket
Step 5: Enable Classic support
In this step, we will enable classic snap support by creating a symbolic link between /var/lib/snapd/snap and /snap. It can be done by issuing the following command:
sudo ln -s /var/lib/snapd/snap /snap
Step 6: Install sMonitor
Now we can finally install sMonitor on our system by simply executing the below-mentioned command:
sudo snap install smonitor
You will be prompted to give your password. Once it is accepted, the installation will begin instantly. This is the output you will see on your terminal:
Once the installation is all done, you will get the confirmation message of successful installation like this on your terminal:
Step 7: Verify Installation
Let’s now verify if the installation has been a success as the output displayed in the previous step or not. To check that, go to the start menu and see if you can locate the SMonitor application. If you can find it, it means the installation has been successful and the application exists now in your system.
This is how sMonitor will appear on the Start menu:
How to uninstall SMonitor from Manjaro Linux?
We have explored how to install sMonitor on our Manjaro Linux machine, it is time to see how we can uninstall it.
To uninstall sMonitor, run the following command:
sudo snap remove smonitor
sMonitor will be instantly removed from your machine and you will see the following confirmation on your terminal:
Today, we explored how to install sMonitor on Manjaro Linux using snap. For that we first installed Snap. We also saw how we can remove sMonitor from our system with the help of a simple command.
We hope you enjoyed our tutorial.
Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.