Skip to main content

Ubiquiti Edge SNMP

Pack Assets​

Monitored Objects​

The Monitoring Connector Ubiquiti Edge SNMP collects metrics for:

  • Cpu
  • Hardware
  • Interfaces
  • Memory

Discovery rules​

Rule nameDescription
Net-Ubiquiti-Edge-SNMP-Interface-NameDiscover network interfaces and monitor bandwidth utilization

Collected Metrics​

Metric nameDescriptionUnit
cpu.utilization.5s.percentageCPU utilization during last 5 seconds.%
cpu.utilization.1m.percentageCPU utilization during last minute.%
cpu.utilization.5m.percentageCPU utilization during last 5 minutes.%

Prerequisites​

To monitor your Ubiquiti Edge, the SNMP must be configured. The Poller should be able to perform SNMP requests toward the Lenovo device over SNMP UDP/161 port.

Setup​

  1. Install the Centreon Plugin on every Poller:
yum install centreon-plugin-Network-Ubiquiti-Edge-Snmp
  1. On the Centreon Web interface in Configuration > Monitoring Connector Manager, install the Ubiquiti Edge SNMP Pack

Host configuration​

  • Add a new Host and fill the IP Address/FQDN, SNMP Version and SNMP Community fields according to the device's configuration
  • Apply the Net-Ubiquiti-Edge-SNMP-Custom Host Template

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryNameDescription
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

FAQ​

How to test the Plugin and what are the main options for?​

Once the plugin installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins/centreon_ubiquiti_edge__snmp.pl \
--plugin=network::ubiquiti::edge::snmp::plugin \
--mode=cpu \
--hostname=10.30.2.114 \
--snmp-version='2c' \
--snmp-community='ubiquiti_ro' \
--warning-1m='80' \
--critical-1m='90' \
--verbose

Expected command output is shown below:

OK: CPU 53.59 % (5sec), 38.13 % (1m), 21.37 % (5min) | 'cpu.utilization.5s.percentage'=53.59%;;;0;100 'cpu.utilization.1m.percentage'=38.13%;0:80;0:90;0;100 'cpu.utilization.5m.percentage'=21.37%;;;0;100

The command above monitors Ubiquiti Edge (--plugin=network::ubiquiti::edge::snmp::plugin --mode=load) identified by the IP address 10.30.2.114 (--hostname=10.30.2.114). As the Plugin is using the SNMP protocol to request the device, the related community and version are specified (--snmp-version='2c' --snmp-community='ubiquiti_ro').

This command would trigger a WARNING alarm if cpu utilization over 90% on the last minute (--warning-1m='90') and a CRITICAL alarm over 95% on the last minute (--critical-1m='95').

All the options as well as all the available thresholds can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/centreon_ubiquiti_edge_snmp.pl \
--plugin=network::ubiquiti::edge::snmp::plugin \
--mode=cpu \
--help

Troubleshooting​

Troubleshooting plugins