Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Net::SNMP, hrPrinterDetectedErrorStatus

by Corion (Pope)
on Nov 06, 2017 at 08:35 UTC ( #1202803=note: print w/replies, xml ) Need Help??


in reply to Net::SNMP, hrPrinterDetectedErrorStatus

How far can you trust the output of the Net-SNMP command line tools? Maybe they are just printing the data in hexdump format because the SNMP OID isn't known a string, or the data doesn't look like a string?

Without knowing anything about SNMP, it seems that at least snmpwalk.pl from the examples will use the snmp_type_ntop function to convert things to something printable. I don't know if the data you receive already is supposed to be the decoded value or maybe is still in ASN.1 format.

Replies are listed 'Best First'.
Re^2: Net::SNMP, hrPrinterDetectedErrorStatus
by jvuman (Novice) on Nov 06, 2017 at 15:15 UTC

    The "snmpget" binary returns a value consistent with the printer's real observed status.

    Did try snmp_type_ntop, but it did not help. Thanks though!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-08-09 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (55 votes). Check out past polls.

    Notices?