configure node for exporting network data
This commit is contained in:
parent
fee595921c
commit
2f4a9c9d1b
2 changed files with 8 additions and 0 deletions
|
@ -59,6 +59,7 @@
|
||||||
- /etc/conf.d/iptables
|
- /etc/conf.d/iptables
|
||||||
- /etc/conf.d/ip6tables
|
- /etc/conf.d/ip6tables
|
||||||
- /etc/conf.d/tinc.networks
|
- /etc/conf.d/tinc.networks
|
||||||
|
- /etc/conf.d/node-exporter
|
||||||
- /etc/iptables/rules6-save
|
- /etc/iptables/rules6-save
|
||||||
- /etc/iptables/rules-save
|
- /etc/iptables/rules-save
|
||||||
- /etc/ipset.d/blocklist4
|
- /etc/ipset.d/blocklist4
|
||||||
|
|
7
templates/etc/conf.d/node-exporter.j2
Normal file
7
templates/etc/conf.d/node-exporter.j2
Normal 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))$'"
|
Loading…
Reference in a new issue