How to find counters of printers through SNMP

后端 未结 1 660
误落风尘
误落风尘 2021-01-22 09:53

I\'m currently working on a project, involving getting information from printers through SNMP. Now the printer I\'ve been testing/working on, is a Lexmark X950.

A proble

1条回答
  •  北恋
    北恋 (楼主)
    2021-01-22 10:43

    The short answer is 'no'. The details are going to be vendor specific.

    You could do an snmpwalk of multiple different printers and compare the data to see if there is any common attributes you wanted to report on.

    Each printer should have a printer specific MIB that will list all the details that you can query on the printer - so rather that starting with specific MIB values, if you scanned the MIB and searched for the interesting values you could find the right OID to poll for each platform.

    At the start you could poll for the sysDescr mib entry, and determine if the device is a brother/epson/canon/hp printer etc.

    0 讨论(0)
提交回复
热议问题