Required Simple Alert for Port UP/Down

i have just install librenms in my linuxmint everything is ok ,
i just need help in Alert
i want aler for my device port goes down and up in simple one line
eg device
port 3 down or up

I have integrated LibreNMS to Wavefront.

Is there a way I can see Device status there? I am unable to get the below via librenms metric.

  • Device goes down: devices.status != 1
  • Any port changes: ports.ifOperStatus != 'up'