SNMP Monitoring
Installation on Debian/Ubuntuβ
In order to monitor a network device with SNMP, you will need:
- a Bleemeo "Glouton" agent connected to an existing Bleemeo account. We recommends to use an agent that will be dedicated to network devices monitoring.
- you will need to deploy a Prometheus SNMP exporter that will be in charge of fetching metrics from the device.
You need to activate SNMP on your devices and use "public" as community for v2 SNMP.
SNMP exporter need to be able to reach network devices with SNMP (UDP port 161). The Bleemeo agent needs to be able to reach the SNMP exporter on port 9116. We recommends to deploy your SNMP exporter on the same server that is running the Bleemeo agent sending data to the Cloud.
After you installed Glouton, you can install snmp-exporter with this command.
apt update
apt-get install snmp-exporter
After installing agent and SNMP exporter, you need to define the devices you want to monitor in agent configuration. You can add as many snmp agents as you want on a Glouton.
sudo mkdir -p /etc/glouton/conf.d
sudo tee /etc/glouton/conf.d/snmp.conf << EOF
metric:
snmp:
targets:
- initial_name: AP Wifi
target: $SNMP_IP
- initial_name: Office Printer
target: $SNMP_IP
EOF
Add new MIBβ
If you want to add a new proprietary MIB to your snmp agents, you need to send an email with the snmpwalk file to support@bleemeo.com generated by the following command:
snmpwalk -v2c -c public -ObentU DEVICE_IP 1.3.6 > ./public.snmpwalk