Hello Dennis. Thank you for your reply. I did the following changes to main.mk file:
extra_service_conf[“event_handler_enabled”]=[(“1”, ALL_HOSTS, ALL_SERVICES)]
extra_service_conf[“event_handler”]=[(“jira”,ALL_HOSTS,ALL_SERVICES)]
extra_nagios_conf += r"""
define command {
command_name jira
command_line /omd/sites/ovh/etc/nagios/conf.d/jira.sh $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEDURATIONSEC$ $HOSTNAME$ $SERVICEDESC$ $HOSTSTATEID$
}
“”"
And when I try to apply the changes by typing cmk -O I get the following error:
Generating configuration for core (type nagios)…OK
Validating Nagios configuration…ERROR:
An error occurred: not all arguments converted during string formatting
What am I doing wrong?