Monitoring printers with Kaseya Network Monitor

Most printers equipped with a network interface will also have the possibility to enable SNMP for monitoring, and setting traps. With Kaseya Network Monitor, you can utilize both those features, but here we will just cover the monitoring.

We have created a script that takes the values for supply levels (ink, toners, etc.) or the input levels (paper), presents each unit’s utilization in percent and lets you choose a threshold so that an alarm will be set if the utilization goes below the set threshold value.

First, let’s have a look at monitoring the supply levels. In this example, we have set the threshold to 50% meaning that this monitor will set an alarm if any supply unit will go below 50% left.

supply_levels_properties

Here, we can see how the property page would look like. The lab printer is a Kyocera FS-1128 MFP which can show correct levels for both supply and input (except the waste toner, where it will show empty or not empty).

supply_levels

As you can see, the values of each toner unit is shown and at the top, you see which one is in an alarm state. Also, you can see that in the graph, each toner unit has it’s own color (unfortunately not it’s correct printer color) so you can see trends.

To instead monitor input levels, this is how the monitor information page could look like.

input_levels

As you can see here, the first unit (MP Tray) is a manual feed unit so of course we don’t want to monitor that. If you go back to the property page, you can set the “Exclusions” to the number 1.

input_levels_properties

Since we now have excluded the MP tray, it will no longer be monitored, as you can see below.

input_levels2

Cassette 3 is still in alarm because it’s empty, but in this case it’s not supposed to be empty so we will let KNM send an alarm message via email or text messages to an online operator that will make sure that this issue will be handled.

For more information on how to download the script and set it up, have a look at the KB article at http://community.kaseya.com/kb/w/wiki/monitoring-printer-levels.aspx.

For more Lua scripts for Kaseya Network Monitor, please visit http://community.kaseya.com/resources/m/knowexch/tags/lua+scripts/default.aspx where we are building a library of script monitors.

11 thoughts on “Monitoring printers with Kaseya Network Monitor

  1. Hi Tomas,

    I need to set up SNMP Monitoring on my Ricoh and HP Printers, where would I be able to get the MIBs and how do I set up SNMP Monitoring for the Printers?

    Thanks

    1. Hi Tobias,

      You mean that you want to monitor other values for your printers than what these Lua scripts do? Are you running Kaseya Network Monitor to start with? You can download a 30 days trial from http://www.kaseya.com/forms/free-trial.aspx?prodcode=netmon to start with if you don’t already have it. Then you can load these Lua script monitors to start monitoring paper levels or ink/toner. We have tested with both Ricoh and HP printers. The values that we read in the script are included in the standard PRINTER-MIB. HP has specific mibs for some printers included in the SDKs but most modern printers utilize the PRINTER-MIB and you can find most values needed in there. If you don’t already have the mib, you can download it from my dropbox at https://dl.dropbox.com/u/67247222/Printer-MIB.mib

      1. Hi Tomas,

        Yes, I would like to monitor other values other then the toner levels, Ricoh doesn’t want to release MIBs for security reasons, how would I go about MIBs and setting these properly up. I’ve picked up the Ricoh printer via Kaseya Network Monitor, there are MIBs loaded but not working though

        Thanks for your reply

          1. The scripts above works with Ricoh printers, we have tested that. Settings up an SNMP monitor is easy in KNM and is explained in the documentation. MIB files are basically just information files, making it easier to browse the information tree for an SNMP enabled device. An OID (number format) will be given a name in a tree view with the correct mib file loaded. To be able to use the mib file in KNM, you have to compile the PRINTER-MIB file with our Mib Compiler that you can download from http://community.kaseya.com/resources/m/knowexch/67676.aspx and then place the compiled .dat file in the “mib” folder in the KNM root folder. Restart the “Kaseya Network Monitor” service so that the mib is loaded.

            Then create an object with the IP of the printer. Add a new SNMP monitor following the guide at http://help.kaseya.com/WebHelp/en/KNM/4010000/index.htm#8883.htm.

            This is to retrieve values from the printer. If the values you are looking for are in tables (multiple, dynamic values), you would need to create a Lua script for this, just like the examples above.

            /Tomas

  2. Hi

    I have copied the SNMP_Printer_Levels.lua to the network monitoring script folder but dont know where to use it in the network monitoring menu. Please can you explain abit more

    1. Add a new monitor for the object. Choose Script->Lua script. There you can choose the added script in the dropdown list. After that, you will see the same information as on this blog page. Sorry for the late reply by the way, didn’t a notification for some reason.

  3. I’m glad I discovered your article. I would not have made sense of
    this topic on my own. I’ve read various other articles on this subject
    matter, but I was baffled until I read yours.

  4. Hi Tomas,
    Thanks for th PrinterMIB-Link. I tryed this MIB on my hp printer. But one question, where did you find this MIB? And do you have I idea, how i can get information about job-name, job-size, number of page/job?

    Thank you for your answer!

    1. Hi Roland,

      The PRINTER-MIB is an IANA standard MIB that can be found at numerous places. IETF is a good option, http://www.ietf.org/assignments/ianaprinter-mib/ianaprinter-mib

      Jobs are usually handled by the print server, so that would depend on your print server software. Keeping track of the number of pages, sizes of jobs and so on may not be something that should be done by a monitoring software. We do provide monitoring of print queues though through KNM. In version 5, we have a device template that you can apply on Windows print servers. It’s using Windows performance counters to monitor the following:

      Print Bytes printed/sec
      Print Jobs Spooling
      Printe Queue Jobs
      Print References

      Other printer related counters can easily be added though.

Leave a Reply

Your email address will not be published. Required fields are marked *