When monitoring Ricoh printer toner levels, the responses can be (for MP-C2003 for example):
0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 toner near empty:-100 toner pre-near empty:-100 Bottle or cartridge not set:0 Unknown (cannot measure correctly):unknown(-2)
I'm using a SNMP Custom Advanced sensor to monitor all 4 channels (black, cyan, magenta, yellow). How can I interpret the responses as to show the level in a gauge when its 0-100 (positive level) or an alarm message when its -2 or -100? Is there a way to do it using lookup files?
Thanks and congrats for the wonderful product.
Tales Maschio
Article Comments
Hi,
Ok got it working right, thanks for the reply. Now I need to ask you something else.
As you know some printers return the supplies levels in terms of units instead of percentages. In that case another OID will inform the maximum capacity. Let's consider a black toner level of 8000 units for a maximum capacity of 16000. If I define a custom lookup file with a range type lookup like this:
<Range state="Ok" from="4000" to "16000">
the sensor will show me "Ok (8000)" instead of only Ok. I tested this both on SNMP Custom and Custom Advanced sensors.
Is there a way to show only the text defined in the lookup file, and discard the raw value?
Also, the Multiplication and Division won't work when using lookups, is that right? Since the raw value is there, this would be a nice way to get percentages out of a units supply level. The units per se do not make a lot of sense to be displayed on a map, but the percentages would be easier to interpret.
If I choose not to use lookups then the division will work and I can make the sensor show me the percentages, but I'll miss other statuses like -1, -2, -3...
Thanks
Oct, 2017 - Permalink
Hello thermseeker,
First of all I want you to show the SNMP Printer Sensor. This sensor applies directly to your problem. Maybe a switch would be very helpful for your case and save you some trouble. :)
Nevertheless for your lookup question you can do following:
<Range state="Ok" from="4000" to "16000">
Text I want to display
</Range>
Hope this helps.
best regards,
Eugen
Oct, 2017 - Permalink
Hi there,
Yes, you can use lookups. How do you define and use them is described on the following site:
https://www.paessler.com/manuals/prtg/define_lookups
Afterwards you can set it in the channel settings of the according channel.
Best regards.
Sep, 2017 - Permalink