Skip to content

Expose nftables rules number labeled by proto, table and chain

License

Notifications You must be signed in to change notification settings

Intrinsec/nftables_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nftables Exporter

Go Report Card

Prometheus stand alone exporter for nftables metrics.

Building and running

Build

make

Capabilities

nftables_exporter does not depends on libnftnl or nft binary but requires some additional capabilities in order to collect its metrics

setcap CAP_NET_ADMIN,CAP_SYS_ADMIN+ep nftables_exporter+ep nftables_exporter

Running

./nftables_exporter <flags>