SNMP - Toner fill levels are not recognized - HP Color LaserJet Pro

Hello everyone,

With this HP printer model, the toner fill levels are not recognized via SNMP v1. Unfortunately, I haven’t found anything helpful on this topic so far.

An SNMPwalk, for example, shows the colors.

snmpwalk -v1 -c public 192.168.100.69 |grep -A4 -B4 -i black
iso.3.6.1.2.1.43.12.1.1.3.1.1 = INTEGER: 3
iso.3.6.1.2.1.43.12.1.1.3.1.2 = INTEGER: 3
iso.3.6.1.2.1.43.12.1.1.3.1.3 = INTEGER: 3
iso.3.6.1.2.1.43.12.1.1.3.1.4 = INTEGER: 3
iso.3.6.1.2.1.43.12.1.1.4.1.1 = STRING: "black"
iso.3.6.1.2.1.43.12.1.1.4.1.2 = STRING: "cyan"
iso.3.6.1.2.1.43.12.1.1.4.1.3 = STRING: "magenta"
iso.3.6.1.2.1.43.12.1.1.4.1.4 = STRING: "yellow"
iso.3.6.1.2.1.43.12.1.1.5.1.1 = INTEGER: 8

… but they are not detected during an discovery process.

cmk --debug -vvI PRINTER

       Using cached OID .1.3.6.1.2.1.1.2.0: '.0.0'
       Using cached OID .1.3.6.1.2.1.1.2.0: '.0.0'
   SNMP scan found                    hr_mem if inv_if snmp_info snmp_uptime

Do toner OIDs need to be configured in CMK?

I wanted to upload the output from the SNMPwalk and the cmk -vvI command here, but unfortunately, this is not allowed for a new user.

Best regards and many thanks!
cmk_debug_vvi.txt (121.6 KB)
snmpwalk_v1_c_public.txt (27.4 KB)

Hi @hukandre , welcome to the forum !

I also have a printer (HP Color LaserJet Enterprise M553), and experienced similar issues.
Unfortunately i never found a way to solve it.
In the end i abandoned monitoring printers (i only have one, in my small business) as it gave me more headaches then comfort in monitoring it.

  • Glowsome

Hi Michael,

thanks for your reply.

I found a page by chance and now understand how SNMP checks work in CheckMK.
I wrote a simple plugin to check the fill levels.

Best regards

2 Likes

Would you be so kind and share the plugin ?

  • Glowsome

“Sure, here is the file.”

https://docs.c
hp_printer_black_level_check.py (2.0 KB)
heckmk.com/latest/en/devel_check_plugins_snmp.html?lquery=snmp