Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

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

  1. Create the Prometheus Alert Manager Host with "API integrations, no Checkmk Agent"
    Screenshot detailing the Checkmk agent API integrations option when adding a new host.

  2. Create the rule:

    Setup →  Agents → VM, Cloud, Container → Alertmanager → Add Rule
    Screenshot of a new alertmanger rule. Ignore alert rules selected.

    • Name of Piggyback Host: We suggest the alert manager host, but feel free to choose what fits you best.

    • All other options, according to your settings

    • For connection options. Make sure to connect to the Prometheus instance!

    • Explicit host: the Prometheus Alert Manager host 


Screenshot of the alertmanager rule with an explicit hosts set.


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "KB"
labelskb-how-to-article

...