Modified original PRI code

Comment on Asterisk Zaptel Nagios plugin
eeman
Joined: Sun 29 of Jul, 2007

Modified original PRI code

Posted:Sun 29 of Jul, 2007 (21:09 UTC)
The original PRI checking code didnt seem to loop the way the author intended. Specifically 'for span; do' did not return a result of down when the pri was in fact down. I added a dynamic loop based on the number of configured spans provisioned in zapata.conf. In order for this code to not generate false alarms it is advised to not setup configurations for all spans on your T1/E1 card when not all spans are connected.