Merge branch 'hotfix-for-nf-conntrack' of kazu634/itamae into master
This commit is contained in:
commit
81cfec10d9
|
@ -0,0 +1 @@
|
|||
net.netfilter.nf_conntrack_tcp_timeout_time_wait=60
|
|
@ -2,7 +2,8 @@ STORAGE = '/etc/sysctl.d'
|
|||
|
||||
[
|
||||
"#{STORAGE}/90-vm-swappiness.conf",
|
||||
"#{STORAGE}/90-vfs-cache-pressure.conf"
|
||||
"#{STORAGE}/90-vfs-cache-pressure.conf",
|
||||
"#{STORAGE}/90-conntrack-tcp-timeout-time-wait.conf"
|
||||
].each do |conf|
|
||||
remote_file conf do
|
||||
owner 'root'
|
||||
|
|
|
@ -282,11 +282,21 @@ scrape_configs:
|
|||
|
||||
pipeline_stages:
|
||||
- match:
|
||||
selector: '{job="systemd"} !~ "temperature"'
|
||||
selector: '{job="systemd"} !~ "(temperature|nf_conntrack)"'
|
||||
stages:
|
||||
- drop:
|
||||
expression: (CMD|UFW|session|TTY)
|
||||
|
||||
- match:
|
||||
selector: '{job="systemd"} |~ "nf_conntrack"'
|
||||
stages:
|
||||
- template:
|
||||
source: level
|
||||
template: 'error'
|
||||
|
||||
- labels:
|
||||
level:
|
||||
|
||||
- match:
|
||||
selector: '{job="systemd"} |~ "temperature"'
|
||||
|
||||
|
|
Loading…
Reference in New Issue