Once logged in as administrator on the Unifi management console,
select the site
Click on the gear to access the “System Settings” menu
Go to the “System” menu
Click on the “Integrations” tab
Activate
SNMP v1/2C by ticking the box
Define the Community String
You can now apply the “default_snmp_ubiquiti_switch” pattern, which will allow you to supervise
PING
CPU
RAM
Environment
Bandwidth, etc