fixed syntax errors

This commit is contained in:
Lucas Pleß 2020-01-12 15:32:59 +01:00
parent d304c0c550
commit d5ee64c6d2
2 changed files with 42 additions and 12 deletions

View File

@ -0,0 +1,30 @@
telegraf_agent_version: 1.13.1
telegraf_agent_output:
- type: influxdb
config:
- urls = ["http://127.0.0.1:8086"]
- database = "telegraf"
- precision = "s"
- retention_policy = ""
- write_consistency = "any"
- timeout = "5s"
telegraf_plugins_default:
- plugin: cpu
config:
- percpu = true
- totalcpu = true
- fielddrop = [ "time_*" ]
- plugin: disk
config:
- ignore_fs = ["tmpfs", "devtmpfs", "cifs", "nfs"]
- plugin: diskio
- plugin: kernel
- plugin: mem
- plugin: processes
- plugin: swap
- plugin: system
- plugin: netstat
- plugin: net
- plugin: ping
config:
- urls = ["{{ groups['nodes'] | map('extract', hostvars, ['ansible_host']) | join('","') }}"]

View File

@ -158,15 +158,15 @@ host node35 {
fixed-address 10.10.0.135; fixed-address 10.10.0.135;
} }
# geht leider nicht an # geht leider nicht an
host node36 { #host node36 {
hardware ethernet 00:30:48:bc; # hardware ethernet 00:30:48:bc;
fixed-address 10.10.0.137; # fixed-address 10.10.0.137;
} #}
# geht leider nicht an # geht leider nicht an
host node37 { #host node37 {
hardware ethernet 00:30:48:bc; # hardware ethernet 00:30:48:bc;
fixed-address 10.10.0.137; # fixed-address 10.10.0.137;
} #}
# hat zusaetzliche Karte mit 1 Nic # hat zusaetzliche Karte mit 1 Nic
host node38 { host node38 {
hardware ethernet 00:30:48:bc:84:86; hardware ethernet 00:30:48:bc:84:86;
@ -186,10 +186,10 @@ host node41 {
fixed-address 10.10.0.141; fixed-address 10.10.0.141;
} }
# zeigt nichts an.. Netzteil klemmt # zeigt nichts an.. Netzteil klemmt
host node42 { #host node42 {
hardware ethernet 00:30:48:bc:; # hardware ethernet 00:30:48:bc:;
fixed-address 10.10.0.142 # fixed-address 10.10.0.142
} #}
host node43 { host node43 {
hardware ethernet 00:30:48:bc:84:be; hardware ethernet 00:30:48:bc:84:be;
fixed-address 10.10.0.143; fixed-address 10.10.0.143;