How-to add Prometheus Alert Manager
This how-to shows you how to monitor the Prometheus Alertmanager via our special agent.
LAST TESTED ON CHECKMK 2.5.0P7
The alertmanager special agent queries the "API/v1/rules" endpoint of Prometheus. This allows it to show which alarms have been triggered by Prometheus.
Step-by-step guide
Create a host in Checkmk, which is supposed to represent your Prometheus Alertmanager.
Set the option Checkmk agent / API integrations to with "Configured API integrations, no Checkmk Agent"
Create a rule in the rule set Prometheus Alertmanager. You find this rule set via Setup → Agents → VM, Cloud, Container → Prometheus Alertmanager.
Configure the rule to fit your needs.
Important: Please add the URL and port of your Prometheus server into the field URL server address and not the address of the Alertmanager server itself. As mentioned above, the special agent queries the endpointAPI/v1/rulesof your Prometheus instance to get the information about your configured alerts.Make sure to nail this rule to the host you created in step 1.