{"id":17500,"date":"2026-03-25T13:25:32","date_gmt":"2026-03-25T07:55:32","guid":{"rendered":"https:\/\/www.skynats.com\/blog\/?p=17500"},"modified":"2026-03-25T16:12:54","modified_gmt":"2026-03-25T10:42:54","slug":"how-to-install-alert-manager-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-install-alert-manager-on-ubuntu\/","title":{"rendered":"How to install Alert Manager on Ubuntu"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Monitoring systems need an efficient way to handle and notify alerts in real time.<br><\/li>\n\n\n\n<li>Prometheus generates alerts, but it relies on Alertmanager to process and deliver them.<br><\/li>\n\n\n\n<li>Alertmanager helps in grouping, deduplicating, and routing alerts to different channels like email or Slack.<br><\/li>\n\n\n\n<li>Setting up Alertmanager on Ubuntu 24.04 ensures a reliable and scalable alerting system.<br><\/li>\n\n\n\n<li>This guide walks through installing, configuring, and integrating Alertmanager with Prometheus,Installing alert manager on <a href=\"https:\/\/ubuntu.com\/\" type=\"link\" id=\"https:\/\/ubuntu.com\/\" target=\"_blank\" rel=\"noopener\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Ubuntu<\/mark><\/a>.<br><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-download-alertmanager\"><strong>Download Alertmanager<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/tmp\nwget https:\/\/github.com\/prometheus\/alertmanager\/releases\/latest\/download\/alertmanager-*.linux-amd64.tar.gz\n\ntar -xvf alertmanager-*.tar.gz\ncd alertmanager-*.linux-amd64<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-move-binaries\"><strong>Move binaries<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mv alertmanager \/usr\/local\/bin\/\nsudo mv amtool \/usr\/local\/bin\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">alertmanager &#8211;version<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-create-system-user\"><strong>Create system user<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo useradd --no-create-home --shell \/bin\/false alertmanager<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-create-directories\"><strong>Create directories<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir \/etc\/alertmanager\nsudo mkdir \/var\/lib\/alertmanager\n\nsudo chown alertmanager:alertmanager \/etc\/alertmanager\nsudo chown alertmanager:alertmanager \/var\/lib\/alertmanager<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-create-systemd-service\"><strong>Create systemd service<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/systemd\/system\/alertmanager.service<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\n\nDescription=Alertmanager\n\nAfter=network.target\n\n&#91;Service]\n\nUser=alertmanager\n\nGroup=alertmanager\n\nType=simple\n\nExecStart=\/usr\/local\/bin\/alertmanager \\\n\n\u00a0\u00a0--config.file=\/etc\/alertmanager\/alertmanager.yml \\\n\n\u00a0\u00a0--storage.path=\/var\/lib\/alertmanager\n\n&#91;Install]\n\nWantedBy=multi-user.target<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-start-alertmanager\"><strong>Start Alertmanager<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl daemon-reexec\n\nsudo systemctl daemon-reload\n\nsudo systemctl enable alertmanager\n\nsudo systemctl start alertmanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check status:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status alertmanager<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-access-ui\"><strong>Access UI<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open in browser:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/&lt;your-server-ip>:9093<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see Alertmanager dashboard<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-connect-prometheus-to-alertmanager\"><strong>Connect Prometheus to Alertmanager<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Edit Prometheus config:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/prometheus\/prometheus.yml\nAdd:\n\nalerting:\n  alertmanagers:\n    - static_configs:\n        - targets:\n          - localhost:9093<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Restart Prometheus:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> systemctl restart prometheus<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Alertmanager is a critical component for managing alerts efficiently in a monitoring setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Integrating it with Prometheus enables automated and organized alert handling.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you need expert assistance with installing Alert Manager on Ubuntu, our team is here to help. At Skynats, we specialize in <a href=\"https:\/\/www.skynats.com\/linux-server-management\" type=\"link\" id=\"https:\/\/www.skynats.com\/linux-server-management\">Linux Server Management services<\/a>, ensuring seamless setup, configuration, and 24\/7 monitoring for your infrastructure. From installation to optimization, our experts handle everything so you can focus on your business. <a href=\"https:\/\/www.skynats.com\/contact-us\" type=\"link\" id=\"https:\/\/www.skynats.com\/contact-us\">Contact us<\/a> today to get reliable, hassle-free server management support tailored to your needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download Alertmanager Move binaries alertmanager &#8211;version Create system user Create directories Create systemd service Start Alertmanager Check status: Access UI Open in browser: You should see Alertmanager dashboard Connect Prometheus to Alertmanager Edit Prometheus config: Restart Prometheus: Alertmanager is a critical component for managing alerts efficiently in a monitoring setup. Integrating it with Prometheus enables [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1268,1255,302,236],"class_list":["post-17500","post","type-post","status-publish","format-standard","hentry","category-blog","tag-installing-alert-manager","tag-prometheus","tag-server-management-services","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=17500"}],"version-history":[{"count":3,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17500\/revisions"}],"predecessor-version":[{"id":17504,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17500\/revisions\/17504"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=17500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=17500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=17500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}