fix: var passing

This commit is contained in:
2023-01-11 03:43:08 +01:00
parent ff70ecd026
commit 14895958a9

View File

@@ -51,11 +51,11 @@ object NotificationCommand "signal-service-notification" {
"-w" = { "-w" = {
required = true required = true
value = "$notification_signal_gateway_host$" value = "$notification_signal_gateway_port$"
} }
"-x" = { "-x" = {
required = true required = true
value = "$notification_signal_gateway_port$" value = "$notification_signal_gateway_host$"
} }
"-y" = { "-y" = {
required = true required = true
@@ -77,9 +77,9 @@ object NotificationCommand "signal-service-notification" {
notification_servicestate = "$service.state$" notification_servicestate = "$service.state$"
notification_useremail = "$user.email$" notification_useremail = "$user.email$"
notification_servicedisplayname = "$service.display_name$" notification_servicedisplayname = "$service.display_name$"
notification_signal_gateway_host = "$icinga.signal_gateway_host$" notification_signal_gateway_host = signal_gateway_host
notification_signal_gateway_port = "$icinga.signal_gateway_port$" notification_signal_gateway_port = signal_gateway_port
notification_signal_gateway_proto = "$icinga.signal_gateway_proto$" notification_signal_gateway_proto = signal_gateway_proto
} }
} }