SNMP Monitoring
Installation on Debian/Ubuntu
Section titled “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.
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 updateapt-get install snmp-exporterAfter 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.dsudo tee /etc/glouton/conf.d/snmp.conf << EOFmetric: snmp: targets: - initial_name: AP Wifi target: $SNMP_IP - initial_name: Office Printer target: $SNMP_IPEOFAdd new MIB
Section titled “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