bluecmd / fortigate_exporter

Prometheus exporter for Fortigate firewalls
GNU General Public License v3.0
232 stars 72 forks source link

feat: added ARP Table informatio and corresponding testcase #259

Open FriendlyButFire opened 10 months ago

FriendlyButFire commented 10 months ago

Files that have been added: ./pkg/probe/system_arp.go ./pkg/probe/system_arp_test.go ./pkg/probe/testdata/arp.jsonnet

Files that have been changed: ./pkg/probe/probe.go ./README.md

Tested on FortiGate KVM with FortiOS Version v7.0.5

FriendlyButFire commented 9 months ago

This metric will have to be disabled by default if you really really want it in the current state. The metric dimensions are extremely large (any IP any MAC any interface).

Are you sure this is what you want? The total amount of MACs per interface isn't enough?

Being disabled by default is fine for me, that's the use case I'm aiming for, I just wanted to share the implementation of it to everyone