trunklog passively monitors for alarm events from digital trunks. It writes to stdout whenever the alarm state of a digital trunk changes, as the following example output shows:
15:52:26 Board 1 Trunk 0: In service
15:52:37 Board 1 Trunk 0: Loss of frame
15:52:38 Board 1 Trunk 0: Loss of frame Far end alarm indication
15:52:54 Board 1 Trunk 0: Far end alarm indication
15:52:55 Board 1 Trunk 0: In service