Alert on port status change

Hello.
I`m trying to create alert that triggers port up/down on some switches.
The problem is that I got some ports that already down(disabled) and I don’t need to monitor them.
Is there are something like “if port status change past n minutes” ?
Thank you.