configure node for exporting network data

This commit is contained in:
f 2022-06-19 03:00:59 -03:00
parent fee595921c
commit 2f4a9c9d1b
2 changed files with 8 additions and 0 deletions

View file

@ -59,6 +59,7 @@
- /etc/conf.d/iptables
- /etc/conf.d/ip6tables
- /etc/conf.d/tinc.networks
- /etc/conf.d/node-exporter
- /etc/iptables/rules6-save
- /etc/iptables/rules-save
- /etc/ipset.d/blocklist4

View file

@ -0,0 +1,7 @@
# /etc/conf.d/node-exporter
# Custom arguments can be specified like:
#
# ARGS="--web.listen-address=':9100'"
ARGS="--collector.netstat.fields='^(.*_(InErrors|InErrs)|Ip_Forwarding|Ip(6|Ext)_(InOctets|OutOctets)|Icmp6?_(InMsgs|OutMsgs)|TcpExt_(Listen.*|Syncookies.*|TCPSynRetrans|TCPFastOpen(Active(Fail)?|Passive(Fail|AltKey)?|ListenOverflow|CookieReqd|Blackhole))|Tcp_(ActiveOpens|InSegs|OutSegs|PassiveOpens|RetransSegs|CurrEstab)|Udp6?_(InDatagrams|OutDatagrams|NoPorts|RcvbufErrors|SndbufErrors))$'"