if ( $status == 3 ) { print "The ups is normal\n"; } else { print "The ups is on battery\n"; } $session->close;
In reply to Re: Multiple conditions matching when pulling OID value with Net::SNMP
by Smaug
in thread Multiple conditions matching when pulling OID value with Net::SNMP
by Bennco99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |