diff --git a/config.yml.example b/config.yml.example index 3b1c2dd..05dc22e 100644 --- a/config.yml.example +++ b/config.yml.example @@ -138,6 +138,7 @@ reports: # params: # host: 127.0.0.1 # port: 514 +# transport: udp # templates: # See here how to write a template https://github.com/nttgin/BGPalerter/blob/master/docs/context.md # default: "++BGPalerter-3-${type}: ${summary}|${earliest}|${latest}" # hijack: "++BGPalerter-5-${type}: ${summary}|${prefix}|${description}|${asn}|${newprefix}|${neworigin}|${earliest}|${latest}|${peers}" diff --git a/docs/configuration.md b/docs/configuration.md index fb0f12e..7213360 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -377,6 +377,7 @@ Parameters for this report module: |showPaths| Amount of AS_PATHs to report in the alert (0 to disable). | |host| Host of the Syslog server (e.g. localhost).| |port| Port of the Syslog server (e.g. 514).| +|transport| The transport protocol to use. Two options: `udp` or `tcp`| |templates| A dictionary containing string templates for each BGPalerter channels. If a channel doesn't have a template defined, the `default` template will be used (see `config.yml.example` for more details). | #### reportAlerta