Project

FortiGate exporter (contribution)

Prometheus metrics for FortiGate firewalls, with VLAN-aware interface metrics.

GoContributorApache-2.0 licenceSince 2026

Overview

The Prometheus community FortiGate exporter turns FortiGate firewall APIs into Prometheus metrics. Jad contributed a vlanid label for interface metrics, merged upstream in April 2026, so VLAN interfaces can be graphed and alerted on by VLAN rather than by interface name alone.

On a FortiGate carrying many VLAN sub-interfaces, the exporter's interface metrics were only distinguishable by interface name, which is set by whoever configured the firewall and differs from site to site. The vlanid label comes straight from the FortiOS API, so dashboards and alert rules can select, group and join traffic by VLAN consistently across every firewall in a fleet, and match it against the VLAN inventory held in NetBox or similar.

The change (pull request #279, "Added label: vlanid to system_interface.go") was merged by the maintainers on 4 April 2026 and ships in the exporter's system interface collector. The exporter itself is a Prometheus community project in Go, used alongside the Prometheus and Grafana tooling on the observability page.

check_fortigate, published in 2024, is a separate tool: a Go implementation forked from the check_fortigate.pl Nagios and Icinga check plugin, for monitoring setups that have not moved to Prometheus.

Highlights

  1. Added the vlanid label to system interface metrics (pull request #279, merged)
  2. Also published check_fortigate, a Go implementation of the check_fortigate Nagios and Icinga plugin

Related expertise

Have a hard infrastructure problem?

Open to select consulting, contract and advisory work. Tell me what you are building and where it hurts.