What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How to combine 2 OIDs to 1 number

Votes:

0

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.

printer snmp snmp-toner snmp-v1 toner

Created on Mar 12, 2020 12:04:46 PM



1 Reply

Votes:

0

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

Created on Mar 12, 2020 8:50:04 PM by  Arne Seifert [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.