mirror of
https://github.com/FAUSheppy/monitoring-tools
synced 2025-12-09 12:48:32 +01:00
feat: config for remote gateway
This commit is contained in:
@@ -48,6 +48,19 @@ object NotificationCommand "signal-service-notification" {
|
||||
value = "$notification_servicedisplayname$"
|
||||
}
|
||||
"-v" = "$notification_logtosyslog$"
|
||||
|
||||
"-w" = {
|
||||
required = true
|
||||
value = "$notification_signal_gateway_host$"
|
||||
}
|
||||
"-x" = {
|
||||
required = true
|
||||
value = "$notification_signal_gateway_port$"
|
||||
}
|
||||
"-y" = {
|
||||
required = true
|
||||
value = "$notification_signal_gateway_proto$"
|
||||
}
|
||||
}
|
||||
|
||||
vars += {
|
||||
@@ -64,6 +77,10 @@ object NotificationCommand "signal-service-notification" {
|
||||
notification_servicestate = "$service.state$"
|
||||
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_port = "$icinga.signal_gateway_port"
|
||||
notification_signal_gateway_proto = "$icinga.signal_gateway_proto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user