Cisco smb switch suspended status alert

Wanted to see if there is a way to create an alert for when the port of a Cisco SMB switch shows suspended. I can see the port status on the switch page shows it is suspended. But don’t know how to access the data in the Alert rules.

Hi there,

Build your rule like this:
macros.device_up = 1 AND sensors.sensor_type = “swIfOperSuspendedStatus” AND sensors.sensor_current = 1

Worked like a charm thanks