tags:

views:

254

answers:

1

I've been trying to figure out how to monitor job status via SNMP and I have found a solution on Xerox based printers (using Xerox implemented mibs), but I'm looking for something that will work across other vendors' printers. I see the Job Monitoring rfc2707 looks like the proper mib to be using but it doesn't appear that many printers implement it. Does anyone know of another way to query a printer via snmp to get a job status back from a printer?

+1  A: 

I think the trick is to query each printer's management MIB, determine which enterprise MIB it supports (via the OID variable 1.3.6.1.2.1.1.2 ), and then query according to that (by changing which enterprise MIB variables you query).

From the OID description:

                  "The vendor's authoritative identification of the
                  network management subsystem contained in the
                  entity.  This value is allocated within the SMI
                  enterprises subtree (1.3.6.1.4.1) and provides an
                  easy and unambiguous means for determining `what
                  kind of box' is being managed.  For example, if
                  vendor `Flintstones, Inc.' was assigned the
                  subtree 1.3.6.1.4.1.4242, it could assign the
                  identifier 1.3.6.1.4.1.4242.1.1 to its `Fred
                  Router'."
Brian Agnew