Search code examples
snmpprinterscmykoid

Printer OID does not work on every printer


Hello I was asked to write a program to ask every printer in the network for there, name, location, and CMYK toners(how much percentage are left). I serched for the OID'a and everything was working. Now that i have the program that gets the data from all printers at some printers i does not work and the program shuts itself down. Why is that ?

Thanks in advance. Yours sincerely Scarlet


Solution

  • The problem is that there is no common MIB to monitor all printers. So it is very vendor specific. There are several most commonly used MIBs to monitor printer devices:

    • PARALLEL-MIB - MIB module for Parallel-printer-like hardware devices.
    • PRINTER-MIB - MIB module for management of printers.
    • IANA-PRINTER-MIB - IANA basic SNMP definitions for printer devices.
    • HP-LASERJET-COMMON-MIB - Hewlett-Packard definitions for LaserJet series devices.