Hello. I want to monitor cartridge status in my old printer (SNMP v1 only). I found OIDs and I need to do something like this:

(oid("1.3.6.1.2.1.43.11.1.1.9.1.1")/oid("1.3.6.1.2.1.43.11.1.1.8.1.1"))*100

Result should be toner level in %. But I cannot found a solution.

Thank you very much for your help.


Article Comments

Dear srubard,

such computations can be made in the factory sensor.

That is a special sensor which can read data from other sensors and perform computations. It even offers a percent() function.

The sensor uses channel data from other sensors as input, so you need two sensors in total:

  1. SNMP Custom Advanced for your OIDs
  2. The Factory sensor computing the percentage

Mar, 2020 - Permalink