From a60a1617aafbb42db7a24b149091c3dcc93d0330 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 --- server/config/mc-monitor/docker-compose.yml | 5 +++-- server/config/mc-monitor/telegraf.conf | 9 --------- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 server/config/mc-monitor/telegraf.conf diff --git a/server/config/mc-monitor/docker-compose.yml b/server/config/mc-monitor/docker-compose.yml index 6dab87e..03da1f1 100644 --- a/server/config/mc-monitor/docker-compose.yml +++ b/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/server/config/mc-monitor/telegraf.conf b/server/config/mc-monitor/telegraf.conf deleted file mode 100644 index 352e965..0000000 --- a/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"