Based upon a shell script for snmp checking of printers, I've rewritten it in perl to make it more performant and easier to add/extend and maintain. You can also now monitor all paper trays at once (albeit buggy since not all printers give correct info).
-H, --host=HOST Â Â The name or address of the host running SNMP. --messages Â Â Print the messages of the printer --model Â Â Prints the model of the printer --pagecount Â Â Prints the number of pages printed --tray=i Â Â Checks tray number for paper status, use 0 for all trays --consum="ALL"|"TEST"| Â Â Check consumable containing for status, Â Â use "TEST" to get a list of all consumables Â Â use "ALL" to get the status of all consumables
-P, --community=STRING Â Â The community string of the SNMP agent. Default: public -S, --snmpver=STRING Â Â The version of snmp to use.Â 1 and 2 are supported. Default: 1 -t, --timeout=INTEGER Â Â Number of seconds to wait for a response. --exact Â Â Search for exact consumable string, not just substring comparison --verbose Â Â When given, also prints out all OK consumables and their levels and Â Â the printer messages for option --consum