Hmmm - this seems harder than it should be. Honestly I´m not familiar with Unifi hardware - but
here is a shot in the dark:
Just for fun - could you activate this rule for your switch?
The last resort would be to write (expand a existing) a check:
Before that I recommend the CheckMK Blog
especially the SNMP-Moitoring and Network Monitoring part.