Guidance Required on Alert Status Display in Alertmanager

38 views
Skip to first unread message

kaushal...@gmail.com

unread,
Jun 15, 2026, 11:51:30 PM (10 days ago) Jun 15
to Prometheus Users
Hi,

I have configured the latest versions of Prometheus and Alertmanager in Ubuntu LTS OS 24.04 . Is there a way to configure the green button to display ACTIVE when the service is up, instead of INACTIVE, and the red button to display INACTIVE when the service is down, as shown in the attached screenshot for your reference?

# prometheus --version
prometheus, version 3.5.3 (branch: HEAD, revision: dcd3d551ced8b8dc14e0217f8cb14e547109cd5f)
  build user:       root@469d897a302c
  build date:       20260427-14:15:03
  go version:       go1.25.9
  platform:         linux/amd64
  tags:             netgo,builtinassets
#

# alertmanager --version
alertmanager, version 0.32.2 (branch: HEAD, revision: ce33c591ba11d7687c810f41304e3885713211a6)
  build user:       root@2ecfe279737f
  build date:       20260605-15:53:54
  go version:       go1.26.4
  platform:         linux/amd64
  tags:             netgo
#

# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.4 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
#

image

Could you please guide me on how to achieve this configuration, or let me know if this behavior can be customized?

Best Regards,

Kaushal

shanji ye

unread,
Jun 16, 2026, 2:22:56 AM (10 days ago) Jun 16
to kaushal...@gmail.com, Prometheus Users
Dear Mr. Kaushal,

I was quite surprised to receive your reply, as I had nearly forgotten that I had sent an inquiry email to the Prometheus mailbox.

Please accept my sincere apology: I am no longer responsible for the back-end technology position due to work adjustments. Nonetheless, I greatly appreciate your response.

kaushal...@gmail.com <kaushal...@gmail.com> 于2026年6月16日周二 11:51写道:
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/prometheus-users/ce110331-8b63-466a-8556-277b04e4689cn%40googlegroups.com.

Brian Candler

unread,
Jun 16, 2026, 4:14:19 AM (10 days ago) Jun 16
to Prometheus Users
On Tuesday, 16 June 2026 at 04:51:30 UTC+1 kaushal...@gmail.com wrote:
I have configured the latest versions of Prometheus and Alertmanager in Ubuntu LTS OS 24.04 . Is there a way to configure the green button to display ACTIVE when the service is up, instead of INACTIVE, and the red button to display INACTIVE when the service is down, as shown in the attached screenshot for your reference?

Not really, because it's referring to the alerting rules, not any particular service.

An alerting expression which returns an empty vector is an inactive alert rule. Similarly, when the alerting rule returns a vector of one or more alerts, that means the alert is active.

Neither state tells you anything about how many services are being monitored.  You might not have any services that could ever match a given rule; the rule remains inactive, but that doesn't imply that there's any corresponding service which is active. It would therefore be misleading to label "Active" here. The absence of an error does not imply the presence of something which is good.

Of course, it's all open source and you can hack it however you like, but then you'd be maintaining your own fork of Prometheus forever.
Reply all
Reply to author
Forward
0 new messages