influxdata/telegraf

Inputs PF should provide rule specific information

Open

#8 786 ouverte le 2 févr. 2021

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Go (4 161 forks)batch import
area/iotfeature requesthelp wantedsize/m

Métriques du dépôt

Stars
 (9 892 stars)
Métriques de merge PR
 (Merge moyen 2j 12h) (136 PRs mergées en 30 j)

Description

Currently the PF input plugin only provides PF overall stats.

It would be great to have an option to also collect the output of 'pfctl -v -s rules' which are per rule statics.

(Example)

pass in log quick on vmx5 inet proto udp from <metergw> to <DiscovergyNTP> port = ntp keep state label "aaf67e315d4f23fcfd11353735e8a90b"
  [ Evaluations: 14733     Packets: 148       Bytes: 11248       States: 0     ]

I would be good to collect the (label,Evaluations,Packets,Bytes,States) tuple.

The data enables monitoring of specific communications. In my specific use case I want to see whether specific IoT devices are up (have States>0), are continously interchanging data (Packet counter steadily increasing over time).

Guide contributeur