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

Factory sensor calculating difference and get positive result

Votes:

0

Hi!

I´m calculating a difference of two sensors. This works fine with a factory sensor as its own channel. However it can of course sometimes return negative values. For graphics I would like that the value returned as "difference" would always be positive. What kind of formula would calculate difference of two (or more) channels and return the value always as positive?

difference factory-sensor mathematical

Created on Dec 4, 2019 7:02:36 AM



3 Replies

Votes:

0

Hello there,

And thank you for your post.

Unfortunately, the math offered in the sensor factory is limited to basic math. A function to return the absolute value (or to remove or switch the sign) is not implemented. If the resulting value was always negative you could just multiply the result with -1, but since the result can be both negative and positive there is no workaround for this.


Kind regards,
Sasa Ignjatovic, Tech Support Team

Created on Dec 4, 2019 1:06:45 PM by  Sasa Ignjatovic [Paessler Support]



Votes:

0

Ok. Any hope of getting such a feature?

Created on Dec 5, 2019 10:00:08 AM



Votes:

0

Unfortunately, there are no plans on adding such a feature, as this would be complex to implement and would have significant performance impact.

Created on Dec 5, 2019 11:07:20 AM by  Sasa Ignjatovic [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.