Asterisk line fluctuation issue

Is there a way in which we can know when an asterisk PRI line fluctuates? Can we get a trigger that something has gone wrong?

This is creating a problem because sometimes the Asterisk server needs to be restarted and I don’t know that something has gone wrong.