Hello Zabbix users, guru and creator,

In a discovery context, I need complexes rules to manage sensors.

I have two items, the first one is the value, the second one is the decimal digit (The sensor reading as a signed integer. The value of this OID variable should be scaled by externalSensorDecimalDigits. For example, if the value is 1 and externalSensorDecimalDigits is 2, then actual value is 0.01).

Exemple:

Item1: 23323

Item2: 2

Real value that I need to store in the database: 233.23

The mathematical operation to apply is: item1 / 10^item2 (23323/10^2) = 233.23

Any idea to perform this operation in a simple way with Zabbix?

Thank you for your help on this topic.

Regards,

Eric

In a discovery context, I need complexes rules to manage sensors.

I have two items, the first one is the value, the second one is the decimal digit (The sensor reading as a signed integer. The value of this OID variable should be scaled by externalSensorDecimalDigits. For example, if the value is 1 and externalSensorDecimalDigits is 2, then actual value is 0.01).

Exemple:

Item1: 23323

Item2: 2

Real value that I need to store in the database: 233.23

The mathematical operation to apply is: item1 / 10^item2 (23323/10^2) = 233.23

Any idea to perform this operation in a simple way with Zabbix?

Thank you for your help on this topic.

Regards,

Eric

## Comment