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).
Â Â The name or address of the host running SNMP.
Â Â Print the messages of the printer
Â Â Prints the model of the printer
Â Â Prints the number of pages printed
Â Â Checks tray number for paper status, use 0 for all trays
Â Â Check consumable containing for status,
Â Â use "TEST" to get a list of all consumables
Â Â use "ALL" to get the status of all consumables
Â Â The community string of the SNMP agent. Default: public
Â Â The version of snmp to use.Â 1 and 2 are supported. Default: 1
Â Â Number of seconds to wait for a response.
Â Â Search for exact consumable string, not just substring comparison
Â Â When given, also prints out all OK consumables and their levels and
Â Â the printer messages for option --consum