SNMP Installation
Prerequisites
Section titled “Prerequisites”Before you begin, make sure you have:
- A Bleemeo Glouton agent installed and connected to your Bleemeo account. We recommend using a dedicated agent for network device monitoring. See the installation guide if you don’t have one yet.
- SNMP enabled on the devices you want to monitor.
The SNMP exporter needs to reach network devices on UDP port 161. Glouton needs to reach the SNMP exporter on TCP port 9116 (default). We recommend deploying both on the same server.
Step 1: Install the SNMP Exporter
Section titled “Step 1: Install the SNMP Exporter”After you installed Glouton, install the SNMP exporter:
sudo apt updatesudo apt-get install snmp-exporterThe snmp-exporter package includes a pre-configured snmp.yml that works with all supported device types.
No additional configuration is needed.
After you installed Glouton, download the Prometheus SNMP exporter from GitHub.
- Download the latest
snmp_exporter-*-windows-amd64.zipfrom the releases page. - Extract it to a directory of your choice (e.g.,
C:\Program Files\snmp_exporter\). - Download the Bleemeo-provided
snmp.ymland place it in the same directory as the exporter:
C:\Program Files\snmp_exporter\snmp.yml- Run the SNMP exporter (or configure it as a Windows service):
& "C:\Program Files\snmp_exporter\snmp_exporter.exe" --config.file "C:\Program Files\snmp_exporter\snmp.yml"Step 2: Configure SNMP Targets
Section titled “Step 2: Configure SNMP Targets”Define the devices you want to monitor in the Glouton configuration. You can add as many SNMP targets as needed.
sudo tee /etc/glouton/conf.d/99-snmp.conf > /dev/null << 'EOF'metric: snmp: targets: - initial_name: AP Wifi target: 192.168.1.10 - initial_name: Office Printer target: 192.168.1.20EOF
sudo systemctl restart gloutonCreate or edit the file C:\ProgramData\glouton\conf.d\99-snmp.conf:
metric: snmp: targets: - initial_name: AP Wifi target: 192.168.1.10 - initial_name: Office Printer target: 192.168.1.20Then restart the Glouton service:
Restart-Service gloutonReplace the target values with the IP addresses of your SNMP devices and initial_name with
a descriptive name for each device.
Step 3: Verify
Section titled “Step 3: Verify”After restarting Glouton, your SNMP devices should appear in the Bleemeo console within a few minutes.
Advanced Configuration
Section titled “Advanced Configuration”By default, Glouton connects to the SNMP exporter at http://localhost:9116. If you run the SNMP exporter
on a different address or port, set
metric.snmp.exporter_address accordingly.