From acb415759aafeb0dd3a40543dc9bbe1d74d51eec Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 18 Mar 2022 11:43:47 -0700 Subject: [PATCH] Change service name to mc-monitor --- homelab/server/config/mc-monitor/docker-compose.yml | 5 +++-- homelab/server/config/mc-monitor/telegraf.conf | 9 --------- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 homelab/server/config/mc-monitor/telegraf.conf diff --git a/homelab/server/config/mc-monitor/docker-compose.yml b/homelab/server/config/mc-monitor/docker-compose.yml index 6dab87e5..03da1f10 100644 --- a/homelab/server/config/mc-monitor/docker-compose.yml +++ b/homelab/server/config/mc-monitor/docker-compose.yml @@ -1,8 +1,9 @@ version: '3' services: - monitor: - image: itzg/mc-monitor + mc-monitor: + image: itzg/mc-monitor # https://github.com/itzg/mc-monitor + container_name: mc-monitor command: export-for-prometheus restart: unless-stopped networks: diff --git a/homelab/server/config/mc-monitor/telegraf.conf b/homelab/server/config/mc-monitor/telegraf.conf deleted file mode 100644 index 352e9656..00000000 --- a/homelab/server/config/mc-monitor/telegraf.conf +++ /dev/null @@ -1,9 +0,0 @@ -[agent] - interval = "10s" - -[[outputs.influxdb]] - urls = ["http://192.168.1.23:8086"] - database = "mc-monitor" - -[[inputs.socket_listener]] - service_address = "tcp://:8094"