Add a pages printed graph or numerical output

"When a printer is found, inserting a pages printed readout by default would be benificial.

snmpwalk -v 1 -c public PRINTER .1.3.6.1.2.1.43.10.2
iso.3.6.1.2.1.43.10.2.1.2.1.1 = INTEGER: 4
iso.3.6.1.2.1.43.10.2.1.3.1.1 = INTEGER: 7
iso.3.6.1.2.1.43.10.2.1.4.1.1 = Counter32: 2039
iso.3.6.1.2.1.43.10.2.1.5.1.1 = Counter32: 0
iso.3.6.1.2.1.43.10.2.1.6.1.1 = INTEGER: 1
iso.3.6.1.2.1.43.10.2.1.7.1.1 = INTEGER: 0
iso.3.6.1.2.1.43.10.2.1.8.1.1 = INTEGER: 3
iso.3.6.1.2.1.43.10.2.1.9.1.1 = INTEGER: 600
iso.3.6.1.2.1.43.10.2.1.10.1.1 = INTEGER: 600
iso.3.6.1.2.1.43.10.2.1.11.1.1 = INTEGER: 1667
iso.3.6.1.2.1.43.10.2.1.12.1.1 = INTEGER: 1667
iso.3.6.1.2.1.43.10.2.1.13.1.1 = INTEGER: 1667
iso.3.6.1.2.1.43.10.2.1.14.1.1 = INTEGER: 1667
iso.3.6.1.2.1.43.10.2.1.15.1.1 = INTEGER: 0

This is against an HP LaserJet 400 color M451dn

This is another output
snmpwalk -v 1 -c public PRINTER iso.3.6.1.2.1.43.10.2.1.4.1.1
iso.3.6.1.2.1.43.10.2.1.4.1.1 = Counter32: 534116"

https://github.com/librenms/librenms/issues/3407

1 Like

I would like to see this feature as well. It would be very helpful

For the record the counter is in variable units:

Printer-MIB::prtMarkerCounterUnit.1.1 = INTEGER: sheets(8)
Printer-MIB::prtMarkerLifeCount.1.1 = Counter32: 251407

Printer-MIB::prtMarkerCounterUnit.1.1 = INTEGER: impressions(7)
Printer-MIB::prtMarkerLifeCount.1.1 = Counter32: 45155

impressions = duplex print counts as 2
The index is hrDeviceIndex and prtMarkerIndex

Merge with How do I detect printer counter and copy counts? ?

Are any plans to make this graphs in next updates LibreNMS?

This function show this value:
/usr/bin/snmpget -v1 -c public -OUqnv -M /opt/librenms/mibs udp:IPPRINTER:161 .1.3.6.1.2.1.43.10.2.1.4.1.1

I did it.

Custom-oid is all what i need :slight_smile: I can there write our OID and make all graphs which I need/

Custom oid is not what you think it is. It only allows existing sensor types.

This project has no plans, only what the community contributes.