mirror of
https://github.com/FAUSheppy/monitoring-tools
synced 2025-12-06 03:21:35 +01:00
add: owner & owner groups custom var pass
This commit is contained in:
@@ -61,6 +61,14 @@ object NotificationCommand "signal-service-notification" {
|
|||||||
required = true
|
required = true
|
||||||
value = "$notification_signal_gateway_proto$"
|
value = "$notification_signal_gateway_proto$"
|
||||||
}
|
}
|
||||||
|
"--owners" = {
|
||||||
|
required = false
|
||||||
|
value = "$notification_owners$"
|
||||||
|
}
|
||||||
|
"--owner-groups" = {
|
||||||
|
required = false
|
||||||
|
value = "$notification_owner_groups$"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars += {
|
vars += {
|
||||||
@@ -80,6 +88,9 @@ object NotificationCommand "signal-service-notification" {
|
|||||||
notification_signal_gateway_host = signal_gateway_host
|
notification_signal_gateway_host = signal_gateway_host
|
||||||
notification_signal_gateway_port = signal_gateway_port
|
notification_signal_gateway_port = signal_gateway_port
|
||||||
notification_signal_gateway_proto = signal_gateway_proto
|
notification_signal_gateway_proto = signal_gateway_proto
|
||||||
|
|
||||||
|
notification_owners = "$service.vars.owner$"
|
||||||
|
notification_owner_groups = "$service.vars.owner_groups$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user