Watchtower to telegraf to influx to grafana #2134
Remcovf
started this conversation in
Notification Templates
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use watchtower stack
_version: "3"
services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: unless-stopped
environment:
- TZ=Europe/Amsterdam
networks:
watchtower-net:
external: true_
And telegraf stack
_version: "3.8"
services:
telegraf:
image: telegraf:1.30
container_name: telegraf
environment:
- INFLUX_TOKEN=******
- INFLUX_ORG=*****
- INFLUX_BUCKET=****
volumes:
- /docker/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
networks:
watchtower-net:
external: true_
A config file
_[agent]
omit_hostname = true
[[inputs.http_listener_v2]]
service_address = ":8087"
paths = ["/watchtower"]
data_format = "json"
json_string_fields = ["message","container","old_image","new_image","timestamp"]
[[outputs.influxdb_v2]]
urls = ["http://influxdb:8086"]
token = "$INFLUX_TOKEN"
organization = "$INFLUX_ORG"
bucket = "$INFLUX_BUCKET"_
but the logging in watchtower gives me
time="2025-12-09T13:33:56+01:00" level=error msg="Failed to send shoutrrr notification" error="an error occurred while sending notification to generic webhook: server returned response status code 400 Bad Request" index=0 notify=no service=generic+http
somebody any idea?
Beta Was this translation helpful? Give feedback.
All reactions