Try pinging the radio to see if it's alive before making the SNMP query?
Converting this to perl should be trivial.$ ping -c 3 -W 1 $dead_host >/dev/null 2>&1 $ echo $? 1 $ ping -c 3 -W 1 $live_host >/dev/null 2>&1 $ echo $? 0
In reply to Re: What did I miss in my test condition?
by DrHyde
in thread What did I miss in my test condition?
by jimbass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |