Icinga/Runbooks

From Wikitech
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.