# Collecting SNMP data with Prometheus Use the `prometheus-snmp-exporter` package. ## Generating snmp.yml This file is not included in the Debian packages for licensing reasons, and we also want to include the Ubiquiti MIBs anyway. Main docs: https://github.com/prometheus/snmp_exporter/tree/main/generator Short story: * git clone https://github.com/prometheus/snmp_exporter.git * make generate * make mibs # downloads the MIBs, including the UBNT ones * ./generator generate -m mibs -g generator.yml -o snmp.yml Copy `snmp.yml` to `/etc/prometheus/snmp.yml`.