Home
Help
Search
Login
Register
OPNsense Forum
»
International Forums
»
German - Deutsch
»
Telegraf - E! error loading config
« previous
next »
Print
Pages: [
1
]
Author
Topic: Telegraf - E! error loading config (Read 1227 times)
PlanetDyna
Newbie
Posts: 7
Karma: 0
Telegraf - E! error loading config
«
on:
May 16, 2023, 02:40:28 pm »
Hallo,
seit neusten erscheint bei mir folgender Fehler im Log:
E! error loading config file /usr/local/etc/telegraf.conf: error parsing data: line 31: key `timeout' is in conflict with line 17d
Meine Config sieht wie folgt aus:
[global_tags]
[agent]
interval = "1s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
debug = false
quiet = true
omit_hostname = false
[[outputs.influxdb]]
urls = ["
http://192.168.12.151:8086
"]
database = "opnsense"
^G Help ^O Write Out ^W Where Is ^K Cut ^T Execute ^C Location
^X Exit ^R Read File ^\ Replace ^U Paste ^J Justify ^/ Go To Line
GNU nano 7.2 /usr/local/etc/telegraf.conf
[global_tags]
[agent]
interval = "1s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
debug = false
quiet = true
omit_hostname = false
[[outputs.influxdb]]
urls = ["
http://192.168.12.151:8086
"]
database = "opnsense"
retention_policy = ""
write_consistency = "any"
timeout = "5s"
insecure_skip_verify = false
timeout = "5s"
[[inputs.cpu]]
percpu = true
totalcpu = true
collect_cpu_time = false
[[inputs.disk]]
[[inputs.diskio]]
[[inputs.mem]]
[[inputs.processes]]
[[inputs.system]]
[[inputs.net]]
^G Help ^O Write Out ^W Where Is ^K Cut ^T Execute ^C Location
^X Exit ^R Read File ^\ Replace ^U Paste ^J Justify ^/ Go To Line
GNU nano 7.2 /usr/local/etc/telegraf.conf
[global_tags]
[agent]
interval = "1s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
debug = false
quiet = true
omit_hostname = false
[[outputs.influxdb]]
urls = ["
http://192.168.12.151:8086
"]
database = "opnsense"
retention_policy = ""
write_consistency = "any"
timeout = "5s"
insecure_skip_verify = false
timeout = "5s"
[[inputs.cpu]]
percpu = true
totalcpu = true
collect_cpu_time = false
[[inputs.disk]]
[[inputs.diskio]]
[[inputs.mem]]
[[inputs.processes]]
[[inputs.system]]
[[inputs.net]]
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Telegraf - E! error loading config
«
Reply #1 on:
May 16, 2023, 05:45:41 pm »
Hast du influx 1 und 2 enabled?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
PlanetDyna
Newbie
Posts: 7
Karma: 0
Re: Telegraf - E! error loading config
«
Reply #2 on:
May 18, 2023, 09:29:47 am »
Nicht das ich wüsste.
Wenn ich "timeout = "5s" aus der Config entferne, funktioniert es.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Telegraf - E! error loading config
«
Reply #3 on:
May 18, 2023, 09:46:13 am »
Dann hast du irgendwo nen Haken gesetzt
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
International Forums
»
German - Deutsch
»
Telegraf - E! error loading config