Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP Officejet 8600 (MFP) and 8100 (printer) - broken SNMP #658

Open
Stoatwblr opened this issue Mar 13, 2019 · 0 comments
Open

HP Officejet 8600 (MFP) and 8100 (printer) - broken SNMP #658

Stoatwblr opened this issue Mar 13, 2019 · 0 comments

Comments

@Stoatwblr
Copy link
Contributor

Ink levels and page counts aren't showing for these in the agent XML output.

You already have snmpwalks for these but the relevant bits are:

Supplies: Note that everything is 43.11.N.0.X, instead of the more standard 43.11.N.1.X

.1.3.6.1.2.1.43.11.1.1.2.0.1 = INTEGER: 1
.1.3.6.1.2.1.43.11.1.1.2.0.2 = INTEGER: 2
.1.3.6.1.2.1.43.11.1.1.2.0.3 = INTEGER: 3
.1.3.6.1.2.1.43.11.1.1.2.0.4 = INTEGER: 4
.1.3.6.1.2.1.43.11.1.1.3.0.1 = INTEGER: 0
.1.3.6.1.2.1.43.11.1.1.3.0.2 = INTEGER: 0
.1.3.6.1.2.1.43.11.1.1.3.0.3 = INTEGER: 0
.1.3.6.1.2.1.43.11.1.1.3.0.4 = INTEGER: 0
.1.3.6.1.2.1.43.11.1.1.4.0.1 = INTEGER: 3
.1.3.6.1.2.1.43.11.1.1.4.0.2 = INTEGER: 3
.1.3.6.1.2.1.43.11.1.1.4.0.3 = INTEGER: 3
.1.3.6.1.2.1.43.11.1.1.4.0.4 = INTEGER: 3
.1.3.6.1.2.1.43.11.1.1.5.0.1 = INTEGER: 5
.1.3.6.1.2.1.43.11.1.1.5.0.2 = INTEGER: 5
.1.3.6.1.2.1.43.11.1.1.5.0.3 = INTEGER: 5
.1.3.6.1.2.1.43.11.1.1.5.0.4 = INTEGER: 5
.1.3.6.1.2.1.43.11.1.1.6.0.1 = STRING: "black ink"
.1.3.6.1.2.1.43.11.1.1.6.0.2 = STRING: "yellow ink"
.1.3.6.1.2.1.43.11.1.1.6.0.3 = STRING: "cyan ink"
.1.3.6.1.2.1.43.11.1.1.6.0.4 = STRING: "magenta ink"
.1.3.6.1.2.1.43.11.1.1.7.0.1 = INTEGER: 15
.1.3.6.1.2.1.43.11.1.1.7.0.2 = INTEGER: 15
.1.3.6.1.2.1.43.11.1.1.7.0.3 = INTEGER: 15
.1.3.6.1.2.1.43.11.1.1.7.0.4 = INTEGER: 15
.1.3.6.1.2.1.43.11.1.1.8.0.1 = INTEGER: 651
.1.3.6.1.2.1.43.11.1.1.8.0.2 = INTEGER: 230
.1.3.6.1.2.1.43.11.1.1.8.0.3 = INTEGER: 216
.1.3.6.1.2.1.43.11.1.1.8.0.4 = INTEGER: 230
.1.3.6.1.2.1.43.11.1.1.9.0.1 = INTEGER: 527
.1.3.6.1.2.1.43.11.1.1.9.0.2 = INTEGER: 126
.1.3.6.1.2.1.43.11.1.1.9.0.3 = INTEGER: 112
.1.3.6.1.2.1.43.11.1.1.9.0.4 = INTEGER: 186

NB: It's been widely reported that SNMPget on Magenta will give no such OID - and that's the case here too. SNMPwalk works.

Doors - same here - 0 instead of 1

.1.3.6.1.2.1.43.6.1.1.2.0.1 = STRING: "top cover"
.1.3.6.1.2.1.43.6.1.1.2.0.2 = STRING: "ink supply cover"
.1.3.6.1.2.1.43.6.1.1.2.0.3 = STRING: "rear access door"
.1.3.6.1.2.1.43.6.1.1.2.0.4 = STRING: "duplexer door"
.1.3.6.1.2.1.43.6.1.1.3.0.1 = INTEGER: 4
.1.3.6.1.2.1.43.6.1.1.3.0.2 = INTEGER: 4
.1.3.6.1.2.1.43.6.1.1.3.0.3 = INTEGER: 4
.1.3.6.1.2.1.43.6.1.1.3.0.4 = INTEGER: 0

interestingly these

.1.3.6.1.2.1.43.10.2.1.4.0.1 = Counter32: 4026
.1.3.6.1.2.1.43.10.2.1.5.0.1 = Counter32: 585

Bear little relationship to the page counters (The web interface says 3832 pages on this printer)

But that's all we have available, so use it (It's better than nothing at all)

The OIDwalk says:

prtMarkerLifeCount 1.3.6.1.2.1.43.10.2.1.4
 prtMarkerPowerOnCount 1.3.6.1.2.1.43.10.2.1.5

Which isn't really the same thing. (everyone uses 1.3.6.1.2.1.43.10.2.1.4.1.1 as default page count)

This encoded PNP string might have counters in it.

.1.3.6.1.4.1.11.2.3.9.1.1.7.0 = STRING: "MFG:HP;MDL:Officejet Pro 8100;CMD:PCL3GUI,PCL3,PJL,PCLM,URF,DW-PCL,802.11,802.3,DESKJET,DYN;CLS:PRINTER;DES:CM752A;CID:HPIJVIPAV2;LEDMDIS:USB#07#01#0
2,USB#FF#04#01;SN:CN4BRHV0NY05MX;S:038080C484200021005a008000045180046441d00144618001e41180064;Z:0102,0500000900000100000100000100000a,0600,0700000000000000000000,0b000000000000000000009a160
00000009a0f000000009a12000000009a21,0c0,0e00000000000000000000,0f00000000000000000000,10000002000008000008000008000008,110,12000,150,17000000000000000025000000000000,181;"

Note the strange OIDs

.1.3.6.1.2.1.25.2.2.0 = INTEGER: 2048 KBytes
.1.3.6.1.2.1.25.2.3.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.2.3.1.2.1 = OID: .2.3848679438.841888046.842346034.774975026
.1.3.6.1.2.1.25.2.3.1.3.1 = STRING: Random Access Memory
.1.3.6.1.2.1.25.2.3.1.4.1 = INTEGER: 1 Bytes
.1.3.6.1.2.1.25.2.3.1.5.1 = INTEGER: 2097152
.1.3.6.1.2.1.25.2.3.1.6.1 = INTEGER: 0
.1.3.6.1.2.1.25.2.3.1.7.1 = Counter32: 0
.1.3.6.1.2.1.25.3.2.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.3.2.1.2.1 = OID: .2.3848679438.841888046.842346035.774975029
.1.3.6.1.2.1.25.3.2.1.3.1 = STRING: Officejet Pro 8100 N811a
.1.3.6.1.2.1.25.3.2.1.4.1 = OID: .2.3848679438.875442478.825306674.775106105.774975026
.1.3.6.1.2.1.25.3.2.1.5.1 = INTEGER: running(2)
.1.3.6.1.2.1.25.3.2.1.6.1 = Counter32: 0
.1.3.6.1.2.1.25.3.5.1.1.1 = INTEGER: idle(3)
.1.3.6.1.2.1.25.3.5.1.2.1 = Hex-STRING: 00 

.1.3.6.1.2.1.25.2.2.0 = INTEGER: 2048 KBytes
.1.3.6.1.2.1.25.2.3.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.2.3.1.2.1 = OID: .2.3848679438.841888046.842346034.774975026
.1.3.6.1.2.1.25.2.3.1.3.1 = STRING: Random Access Memory
.1.3.6.1.2.1.25.2.3.1.4.1 = INTEGER: 1 Bytes
.1.3.6.1.2.1.25.2.3.1.5.1 = INTEGER: 2097152
.1.3.6.1.2.1.25.2.3.1.6.1 = INTEGER: 0
.1.3.6.1.2.1.25.2.3.1.7.1 = Counter32: 0
.1.3.6.1.2.1.25.3.2.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.3.2.1.2.1 = OID: .2.3848679438.841888046.842346035.774975029
.1.3.6.1.2.1.25.3.2.1.3.1 = STRING: Officejet Pro 8600 N911a
.1.3.6.1.2.1.25.3.2.1.4.1 = OID: .2.3848679438.875442478.825306674.775106105.774975026
.1.3.6.1.2.1.25.3.2.1.5.1 = INTEGER: running(2)
.1.3.6.1.2.1.25.3.2.1.6.1 = Counter32: 0
.1.3.6.1.2.1.25.3.5.1.1.1 = INTEGER: idle(3)
@g-bougard g-bougard changed the title HP Officejet 8600 (MFP) and 8100 (printer) - borken SNMP HP Officejet 8600 (MFP) and 8100 (printer) - broken SNMP Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant