I'm setting up an Opsview (nagios) server for monitoring. It's all going fairly swimmingly so far. The most immediate use for the system will be monitoring (or more to the point, alerting me about) printer toner levels. At the moment, the "alert" comes when someone can't print because the toner is out.
I can hit the web interface of course, but I'm looking for something more automated.
I've got Opsview working with all my Dell printers. There is a standard printer OID for supply levels that is working great on most of my printers. 1.3.6.1.2.1.43.11.1.1.9.1.1
.
On the Dells, that OID returns a number that represents the number of units left, whether that's pages, grams, impressions, whatever, but an actual number that counts down as the printer is used.
On my older Brother printers (the 9460
and 9440
) that OID returns a single integer -3
.
The OID description is as follows:
The current level if this supply is a container; the remaining space if this supply is a receptacle. If this supply container/receptacle can reliably sense this value, the value is sensed by the printer and is read-only; otherwise, the value may be written (by a Remote Contol Panel or a Management Application). The value (-1) means other and specifically indicates that the sub-unit places no restrictions on this parameter. The value (-2) means unknown. A value of (-3) means that the printer knows that there is some supply/remaining space, respectively.
Clearly, the -3
is not unexpected. My understanding is that there is a low threshold, beyond which the printer returns a -2
. That could potentially work, but would offer nothing to graph, etc. The Brothers just don't use the "remaining space" version. They are, however, aware of the same information. If I hit the web interface, there is a graph of sorts that depicts toner remaining.
Toner Cyan (C)**
■■■■■■■■■□
Toner Magenta (M)**
■■■■■■■■■□
Toner Yellow (Y)**
■■■■■■■■■□
Toner Black (K)**
■■■■■■□□□□
That is the information I am looking to get via snmp.
Is there an alternate standard OID, or some other place I should be looking?
EDIT
After contacting Brother via email, this was the reply:
Josh,
The information you have regarding toner information is correct and Brother does not offer an OID for monitoring toner levels. Perhaps this is something that might be added in a future generation, but at present there is no support for toner levels.
Best regards,
Tom Sickles
Product Manager
Brother International
There is still useful information in the MIBs. For instance, I can return what is displayed on the screen of the printer itself, and alert myself when it says "toner low" or something. But apparently, the toner levels are out of reach at the moment.
EDIT 2
Ok, since I wasn't going to get any toner levels returned, the easiest thing I've found is for the snmp check to just throw a warning when anything is out of the ordinary, and then I can just go to the web interface and see what it is.
As it happens on these Brother printers, the LCD screen has an orange backlight when there is a status message other than "all OK". So I found the OID that returns a 1
when it's green, and a 2
when its orange. And Nagios will warn on orange.
fwiw, in case anyone is curious, here is the OID:
SNMPv2-SMI::enterprises.2435.2.3.9.4.2.1.5.4.5.6.0