You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Icinga/Runbooks

From Wikitech-static
< Icinga
Revision as of 19:11, 30 May 2019 by imported>Dzahn (Created page with "== How to add a runbook to an Icinga alert == 1) Create a new page under Monitoring here on Wikitech, example: Monitoring/check_ferm 2) Add content and add the page...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to add a runbook to an Icinga alert

1) Create a new page under Monitoring here on Wikitech, example: Monitoring/check_ferm

2) Add content and add the page to Category:Runbooks (Look at the existing run books in there)

3) In Puppet add the full https URL of your page as a value of the notes_url parameter to one of the classes: monitoring::service, nrpe::monitor_service or monitoring::grafana_alert.

4) If you use a different class that does not have a notes_url parameter yet, consider adding it.

5) Merge and run puppet on the Icinga server. You should now see a new icon in the web UI with a "View Extra Service Notes" label. Clicking this should lead to your new page. The URL will also be added to IRC bot output.