Prometheus SNMP Exporter

Overview

Homepage:https://prometheus.io
Changelog:https://github.com/prometheus/snmp_exporter/releases
Documentation:https://github.com/prometheus/snmp_exporter/blob/master/README.md or https://www.diycode.cc/projects/prometheus/snmp_exporter
Get version:~$ snmp_exporter –version
OMD default:disabled
OMD URL:no WUI available

This is an exporter that exposes information gathered from SNMP for use by the Prometheus monitoring system. There are two components: an exporter that does the actual scraping, and a generator (which depends on NetSNMP) that creates the configuration for use by the exporter.

 

Directory Layout

Config Directory:<site>/etc/prometheus_snmp_exporter/
Logfiles:<site>/var/log/snmp_exporter.log
scrape config:<site>/var/prometheus/data

 

OMD Options & Vars

OptionValueDescription
PROMETHEUS_SNMP_EXPORTERon
off
Enable SNMP Exporter
PROMETHEUS_SNMP_ADDR127.0.0.1IP to listen on
PROMETHEUS_SNMP_PORT9119Default on first site

Generate exporter configuration

Further information is available in our howto section