Check if ZAP ISDN is available

Comment on Asterisk Zaptel Nagios plugin
robin
Joined: Wed 27 of Oct, 2004

Check if ZAP ISDN is available

Posted:Mon 09 of Feb, 2009 (11:44 UTC)
I added a few lines to see of there are actualy ISDN lines available, otherwise return an Unknow code to nagios.

Add these after line number 37.

     38 if [ x$SPANS == "x" ]; then
     39         echo "No ISDN"
     40         exit 3
     41 fi