Add collector role
Sets up prometheus to pull metrics, with telegraf to process SNMP data.
This commit is contained in:
parent
6600a6fa36
commit
da3db8cc02
11 changed files with 228 additions and 0 deletions
9
roles/collector/files/telegraf.nft
Normal file
9
roles/collector/files/telegraf.nft
Normal file
|
@ -0,0 +1,9 @@
|
|||
table inet filter {
|
||||
chain output {
|
||||
type filter hook output priority 0; policy accept;
|
||||
|
||||
skuid telegraf ct state { established, related } accept
|
||||
skuid telegraf th dport snmp accept
|
||||
skuid telegraf drop
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue