From 1294c718ea1757662fede1fee8a0775f671a9e00 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 9 Nov 2024 19:02:57 +0100 Subject: snmp --- README-snmp.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README-snmp.md (limited to 'README-snmp.md') diff --git a/README-snmp.md b/README-snmp.md new file mode 100644 index 0000000..e4ec3fe --- /dev/null +++ b/README-snmp.md @@ -0,0 +1,19 @@ +# 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`. -- cgit v1.2.3