2019-02-14 01:32:27 +01:00
|
|
|
log_level = 50
|
2017-06-09 10:55:47 +02:00
|
|
|
webserver_bind = ":8080"
|
|
|
|
|
2019-02-14 12:23:34 +01:00
|
|
|
startup_notify_user = ["user@fireorbit.de"]
|
2019-02-13 03:24:38 +01:00
|
|
|
startup_notify_muc = []
|
2017-06-09 10:55:47 +02:00
|
|
|
|
2019-07-15 23:57:26 +02:00
|
|
|
nickname = "logbot"
|
|
|
|
|
|
|
|
[xmpp]
|
|
|
|
address = "fireorbit.de"
|
|
|
|
jid = "bot@fireorbit.de"
|
|
|
|
password = "example"
|
|
|
|
|
2019-02-14 12:23:34 +01:00
|
|
|
# suported hooks are, which could be declared multiple times with different `secrets` (see [[hooks.grafana]]):
|
|
|
|
[[hooks.grafana]]
|
2019-06-18 01:22:30 +02:00
|
|
|
[[hooks.prometheus]]
|
2019-02-13 03:24:38 +01:00
|
|
|
[[hooks.git]]
|
2019-02-14 12:23:34 +01:00
|
|
|
[[hooks.gitlab]]
|
|
|
|
[[hooks.circleci]]
|
|
|
|
|
|
|
|
# every hook could have following attributes:
|
|
|
|
secret = ""
|
|
|
|
notify_muc = []
|
|
|
|
notify_user = []
|
|
|
|
|
2019-06-18 01:22:30 +02:00
|
|
|
# for handling webhooks from prometheus alertmanager
|
|
|
|
|
|
|
|
[[hooks.prometheus]]
|
2019-02-14 12:23:34 +01:00
|
|
|
|
|
|
|
# for handling webhooks from grafana
|
|
|
|
# at http://localhost:8080/grafana
|
|
|
|
# for image support you have to enable `external_image_storage` (e.g. `provider = local`)
|
|
|
|
# see more at http://docs.grafana.org/installation/configuration/#external-image-storage
|
|
|
|
[[hooks.grafana]]
|
|
|
|
secret = "dev.sum7.eu-aShared-Secret"
|
|
|
|
notify_muc = ["monitoring@conference.chat.sum7.eu"]
|
|
|
|
|
|
|
|
[[hooks.grafana]]
|
|
|
|
secret = "dev.sum7.eu-aShared-Secret-for important messages"
|
|
|
|
notify_user = ["user@fireorbit.de"]
|
|
|
|
|
|
|
|
|
|
|
|
# for handling webhooks from git software (e.g. gitea, gogs, github)
|
|
|
|
# at http://localhost:8080/git
|
|
|
|
[[hooks.git]]
|
|
|
|
secret = "github-FreifunkBremen-yanic-aShared-Secret"
|
|
|
|
notify_muc = []
|
|
|
|
notify_user = ["user@fireorbit.de"]
|
|
|
|
|
|
|
|
# for handling webhooks from gitlab
|
|
|
|
# at http://localhost:8080/gitlab
|
|
|
|
[[hooks.gitlab]]
|
|
|
|
secret = "dev.sum7.eu-aShared-Secret"
|
|
|
|
notify_muc = []
|
|
|
|
notify_user = ["user@fireorbit.de"]
|
|
|
|
|
|
|
|
# for handling webhooks from circleci
|
|
|
|
# at http://localhost:8080/circleci
|
|
|
|
[[hooks.circleci]]
|
|
|
|
secret = "dev.sum7.eu-aShared-Secret"
|
|
|
|
notify_muc = []
|
|
|
|
notify_user = ["user@fireorbit.de"]
|
|
|
|
|
|
|
|
|