Fixed error in the telegraf conf
All checks were successful
Docker Build / Build Docker image (push) Successful in 12m48s

This commit is contained in:
2023-09-23 13:09:40 +02:00
2 changed files with 6 additions and 5 deletions

View File

@ -8,6 +8,7 @@ on:
- 'Dockerfile' - 'Dockerfile'
- 'entrypoint.sh' - 'entrypoint.sh'
- '.gitea/workflows/docker-build.yml' - '.gitea/workflows/docker-build.yml'
- 'telegraf.conf'
jobs: jobs:
build: build:
@ -48,7 +49,7 @@ jobs:
if: success() if: success()
with: with:
severity: info severity: info
details: Freebox-telegraf Docker image build sucessfull ! details: <@436978132105560064> Freebox-telegraf Docker image build sucessfull !
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea uzurka username: Gitea uzurka
avatar_url: https://download.uzurka.fr/Logo/uzurka200.png avatar_url: https://download.uzurka.fr/Logo/uzurka200.png
@ -58,7 +59,7 @@ jobs:
if: failure() if: failure()
with: with:
severity: error severity: error
details: Freebox-telegraf Docker image build failed ! details: <@436978132105560064> Freebox-telegraf Docker image build failed !
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea uzurka username: Gitea uzurka
avatar_url: https://download.uzurka.fr/Logo/uzurka200.png avatar_url: https://download.uzurka.fr/Logo/uzurka200.png
@ -68,7 +69,7 @@ jobs:
if: cancelled() if: cancelled()
with: with:
severity: warn severity: warn
details: Freebox-telegraf Docker image build cancelled ! details: <@436978132105560064> Freebox-telegraf Docker image build cancelled !
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea uzurka username: Gitea uzurka
avatar_url: https://download.uzurka.fr/Logo/uzurka200.png avatar_url: https://download.uzurka.fr/Logo/uzurka200.png

View File

@ -3,7 +3,7 @@
# Configuration for telegraf agent # Configuration for telegraf agent
[agent] [agent]
interval = "${TELEGRAF_AGENT_INTERVAL:10s}" interval = "${TELEGRAF_AGENT_INTERVAL}"
round_interval = true round_interval = true
metric_batch_size = 1000 metric_batch_size = 1000
metric_buffer_limit = 10000 metric_buffer_limit = 10000
@ -43,5 +43,5 @@
commands = [ commands = [
"/usr/local/py/freebox-monit.py -$ARGS" "/usr/local/py/freebox-monit.py -$ARGS"
] ]
timeout = "${TELEGRAF_SCRIPT_TIMEOUT:15s}" timeout = "${TELEGRAF_SCRIPT_TIMEOUT}"
data_format = "influx" data_format = "influx"