Ask the Community
Groups
Monitoring Printer Levels - Connect IT Community | Kaseya
<main> <article class="userContent"> <p>Prerequisites<br>Kaseya Network Monitor v4.x<br>SNMP-enabled printer</p> <p>Description<br>This script will use SNMP to check the current levels of supplies (ink, toner, etc.) or input (paper) for any printer that has SNMP enabled, and configured to let the KNM host or gateway get values. Not all printers can present correct levels, so they might either not work with this script or they will only set an alarm if for example the toner is empty or there is no paper in the input storage for paper at all.</p> <p>It will enumerate all supplies and all inputs for their levels, but the script will also let you exclude the indexes if you for example have a photo ink cartridge that is normally not present, or a paper tray that the monitored printer never uses. On the monitor's web page, after the monitor has run a test at least once, all supplies and inputs will be presented. Write down the indexes of the ones you would like to exclude and go back to the property page for the monitor to save an exclusion (you can exclude multiple units, separating them with a comma (ex. 2,4).<br><br>The script takes four parameters:</p> <ol><li>What you want to monitor, input or supply levels</li> <li>Threshold. If the current level for any supply or input unit goes below this value (in percent), an alarm will be set</li> <li>SNMP community (if you don't know, try with "public" which is default on most devices)</li> <li>Exclusions of unit indexes, separated with commas</li> </ol><p> </p> <p>The presented result is utilization in percent with a list of each supply or input unit with their current levels. The monitor records the statistics for all tests, so that you can view graphs or watch for trends.</p> <p>Installation<br>Download the script below, and save it in your script folder in your KNM installation folder. Then add a Lua script monitor to choose the downloaded script.</p> <p><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fcommunity.kaseya.com%2Fresources%2Fm%2Fknowexch%2F73929.aspx">http://community.kaseya.com/resources/m/knowexch/73929.aspx</a></p> </article> </main>