I resetted it and it fixed it but it’s the reason why it happened that eludes me…
The only thing I could think of is that another line was connected to it yesterday, maybe it unseated the card a little but I didn’t need to reseat the card today so I am not sure that’s the actual reason…
Your hardware, perhaps a poor or unfiltered PSU or a bad cable to the card? (you did plug that in didn’t you?), the cards hardware?, who knows?, but for many years I have been using Sangoma hardware, it is robust and I only remember two failures, Their service system is excellent also.
Well, not directly but an admix of installing SNMP on yourserver and a simple (or complicated) monitoring system would be the way to go, probably more cost/time effective to just replace the failing hardware.
You could technically have fail2ban watch the logs for this and email you.
I would have a hard time blaming the hardware based on the description. In my experience hardware is usually black and white. It typically works or doesn’t. These random “when the moon is out of phase on the 3rd Thursday of September when following the Packers winning a super bowl it does __________.” usually is not hardware. I would bet there is something funky on the line. My test here is to typically rearange wires and see if the problem moves assuming it doesn’t happen on other lines.
Even when the “moon is out of phase” fail2ban won’t work, it all revolves around detecting "<host>" in a log file, <host> is a regex that matches ip addresses, dahdi is not “network aware”, it is a channel driver. One solution might be