16 lines
720 B
Text
16 lines
720 B
Text
# Gather packets and bytes counters from Linux ipsets
|
|
[[inputs.ipset]]
|
|
## By default, we only show sets which have already matched at least 1 packet.
|
|
## set include_unmatched_sets = true to gather them all.
|
|
# include_unmatched_sets = false
|
|
|
|
## Adjust your sudo settings appropriately if using this option ("sudo ipset save")
|
|
## You can avoid using sudo or root, by setting appropriate privileges for
|
|
## the telegraf.service systemd service.
|
|
# use_sudo = false
|
|
|
|
## Add number of entries and number of individual IPs (resolve CIDR syntax) for each ipset
|
|
# count_per_ip_entries = false
|
|
|
|
## The default timeout of 1s for ipset execution can be overridden here:
|
|
# timeout = "1s"
|