Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: What did I miss in my test condition?

by DrHyde (Prior)
on Aug 14, 2012 at 10:55 UTC ( #987316=note: print w/replies, xml ) Need Help??

in reply to What did I miss in my test condition?

Try pinging the radio to see if it's alive before making the SNMP query?

$ 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
Converting this to perl should be trivial.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987316]
beech testing firefox 52.0.1
beech me me me me
beech mi
beech eieie
beech .oO( *you* don't exist, I'm only messaging to *me* self),
[beech]: *me
beech oh my *me my*
beech cannot replicate
beech stupid 3d printer
[rajesh_perl]: hi

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-03-28 07:12 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (327 votes). Check out past polls.