CheckMK integration: edit ticket subject

Hi,

I´ve used the checkmk integration at zammad and it is working great, but how can I edit the ticket subject? Now the subject is [hostname] is [state]. I would like to achieve [$NOTIFY_SERVICEDESC] | [hostname] is [state].

The notification script has no subject command.

I have a similar problem
I change the ticket subject to
title = “#{params[:host]} #{params[:service]} is #{params[:state]}”

if no service-name was given (on host-problems) the service is empty/not set.
maybe this will help you.

Thanks, where exactly did you change that?

on Debian 12 with Zammad-Package-Installation in the file:
/opt/zammad/app/controllers/integration/check_mk_controller.rb
in the current version of zammad at line 39.

hint: you have to change the file after every zammad update.