Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Identify the printer make and model :  HP Laserjet 4000 series
  2. Use the web or telnet interface on the printer to configure it for SNMP
    1.  On a 4250, you can use the web interface under Networking Tab, Network Settings, SNMP
    2. Use telnet alternatively to set HP printer snmp settings Telnet <IP/Hostname> 
      1. snmp-config 1
      2. default-get-cmnty 1
      3. (to enable trap sending) auth-trap 1
      4. trap-dest 10.129.92.52 (IP of zabbix server)
    3. Download the vendors MIB or a close proximity from MIB Depot and evaluate
      1.  http://mibdepot.com
      2. Click the Search Option
      3. Choose Vendors on the left hand panel
      4. Locate and Select HP
      5. Search the web page for "Laserjet"
      6. Find the closest match  "Laserjet Series 4200-MIB" and note the SNMP version is V1, however we will attempt to use Version 2c and will see that it works.  If you don't get a return value try this trick.
      7. Browse the MIB looking for consumables such as INK and  FUSER information.  Fusers in HP Mibs are called Maintenance Kits for some models and Ink is sometimes called Toner or Marker Supplies so knowing the lingo helps.
      8. Identify the oid for a catagory such as prtMarkerSuppliesEntry  .1.3.6.1.2.1.43.11.1.1.9.1.1 and note the tree structure (how the oid numbering is aligned and what other values are close to this one)
      9. Test the oid against the printer  snmpwalk -v2c -cpublic -Of <ip of printer/hostname>  1.3.6.1.4.1.11.2.3.9.4.2.2.11.1.1  to see what is returned and disect the data
      10. bash-3.2# snmpwalk -v2c -cpublic  -Of  10.64.19.249 .1.3.6.1.2.1.43.11.1.1
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.2.1.1 = INTEGER: 1
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.2.1.2 = INTEGER: 1
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.3.1.1 = INTEGER: 0
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.3.1.2 = INTEGER: 0
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.4.1.1 = INTEGER: 3
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.4.1.2 = INTEGER: 3
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.5.1.1 = INTEGER: 21
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.5.1.2 = INTEGER: 15
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.6.1.1 = STRING: "Black Cartridge HP Q5942A"  This element describes the Toner as relative to item 1.1
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.6.1.2 = STRING: "Maintenance Kit HP 110V-Q5421A, 220V-Q5422A" This element describes the Fuser as relative to item 1.2
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.7.1.1 = INTEGER: 7
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.7.1.2 = INTEGER: 7
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.8.1.1 = INTEGER: 10000
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.8.1.2 = INTEGER: 225000
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.9.1.1 = INTEGER: 7300
        .iso.org.dod.internet.mgmt.mib-2.43.11.1.1.9.1.2 = INTEGER: 128665
      11. The Supplylevels for the Black Toner and the Fuser are defined in ...9.1.1 and 9.1.2, we know the values match the description because of the tree structure defined in the mib information found on midDepot states that the Printer Marker Supplies data is found under 1.3.6.1.4.1.11.2.3.9.4.2.2.11.1.1 and that sub elements description and supply levels are found under 6.1.1, 6.1.2 and 9.1.1 and 9.1.2 respectively as found in the snmpwalk.
      12. .iso.org.dod.internet.private.enterprises.43.11.1.1.9.1.1 = INTEGER: 7500
        .iso.org.dod.internet.private.enterprises.43.11.1.1.9.1.2 = INTEGER: 128833
      13.  Per the information on this OID at Mib Depot, the values indicate the amount of toner and fuser levels remaining .  The first number should be the Toner, the second is the fuser.  This is determined by looking at another A/V Pair under the prtMarkerSuppliesEntrydescription 1.3.6.1.4.1.11.2.3.9.4.2.2.11.1.1.6.0.  The values 8.1.1 and 8.1.2 are the maximum capacity values when new toner and fuser are installed.
      14. This may be able to be confirmed from the web interface on the printer depending on the make, model and firmware on the printer.

...