Packages
  • by masoibc

    Checkmk notification plugin for Freshservice. Automatically creates or updates Freshservice tickets based on the state transitions of host and service notifications. It is not perfect, but it works. Recommendation for payload mapping within Freshservice webhook: Subject > subject; Description > description; Node > object_type; Metric name > metric_name; Metric value > metric_value; Resource > hostname; Severity > severity; Created on > event_date; Aggregation > Resource + Node With this mapping you'll see the Event summary within the subject of the alarm and the created ticket and the state change of the host/service within the description. If you want it to behave like within mail notifications, you can swap the mapping to Subect > description and Description > subject, but personally I prefer it like mentioned above. When the base Checkmk URL is provided, the script generates a link to the alert page. I mapped this link to the Metric Value in Freshservice because the perf_data is rather hard to read without accessing the Checkmk API, and I felt the link would be more useful there.