How to install Alertmanager on ubuntu 18.04 LTS


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.

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 | 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


We have successfully installed Alertmanager in our Ubuntu 18.04 server.


How to install Alertmanager on ubuntu 18.04 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top