How to get PRI line (down) status alerts

Hello,

We are having PRI lines configured at our server. Some times the PRI line gets down. So, we want to get alert for the same. How can we do this ?

Is there any way by which we can continuously monitor PRI status and send email alert or things like that.

Thanks.

Run a cron job that uses asterisk -rx, and looks at the output.

You could have an ami connection sitting waiting just for an alarm event then do something when it appears. I use this with Prowl and/or NMA (for android) to send messages to support phones.