Hi, I am trying to retrieve a bit vector containing the error status of a printer with the Net-SNMP module.
With the command line snmpget program, this works: # snmpget -v1 -cpublic printer .1.3.6.1.2.1.25.3.5.1.2.1 HOST-RESOURCES-MIB::hrPrinterDetectedErrorState.1 = Hex-STRING: 00 With the Net::SNMP module, I can also retrieve the value; When I do the same with Net-SNMP, I always get an empty string, regardless of the actual value: my $session = new SNMP::Session( DestHost => $host, Version => 1, Community => 'public'); my $result = $session->get($oid)); Other attributes with "normal" string values are no problem. Is there anything special I have to do to retrieve binary values? Regards, Peter -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/