How to install Alertmanager on ubuntu 18.04 LTS - TechBeginner

Welcome to TechBeginner.in, Tech Beginner provides technical blog for Online Linux Tutorials, Ubuntu Tutorials, Redhat Tutorials and CentOS 7, Configuration of server like Web Server, Application server, Database server, Window server, networking, html, css, java script, php, wordpress, opencart, magento, joomla and etc.

How to install Alertmanager on ubuntu 18.04 LTS

Share This


 

Alertmanager handles alarms sent by customer applications, for example, the Prometheus worker. It deals with deduplicating, gathering, and directing them to the right collector incorporation, for example, email, PagerDuty, or OpsGenie. It likewise deals with hushing and hindrance of alarms.

 

In this post, We will install and configure Alertmanager on ubuntu 18.04 LTS

 

I believe you have already installed running promethus server if not So use the given url to install prometheus.

 

https://www.techbeginner.in/2020/12/how-to-install-prometheus-on-ubuntu.html



Step 1: Update the System

 You need to update the ubuntu repository by using the following command.

 sudo apt-get update

Step 2:Adding Repository 

 Execute the given command to add the prometheus's alertmanager repository.

wget https://s3-eu-west-1.amazonaws.com/deb.robustperception.io/41EFC99D.gpg | apt-key add -

Step 3: Installing Alertmanager
 

We are ready to install the alertmanager by using the given commands.

sudo apt-get update
sudo apt-get install prometheus-alertmanager -y

 

Step 4:Controlling Daemon

After this you can verify the Alertmanager service status by using the following commands.

 

To get the service status.

sudo systemctl status prometheus-alertmanager

To start the service status.

sudo systemctl start prometheus-alertmanager

To restart the service status.

sudo systemctl restart prometheus-alertmanager

On boot auto start the service.

sudo systemctl enable prometheus-alertmanager


On boot stop the service.

sudo systemctl disable prometheus-alertmanager



Conclusion

We have successfully installed Alertmanager in our Ubuntu 18.04 server.

 


No comments:

Post a Comment