Relative values ​​in the chart.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
MikhailIsaev
Posts: 7
Joined: Fri Dec 21, 2012 6:04 am

Relative values ​​in the chart.

Post by MikhailIsaev »

Hi

Is it possible to draw a graph in relative value?

Thank you.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Relative values ​​in the chart.

Post by BSOD2600 »

More detail on what you mean please.
MikhailIsaev
Posts: 7
Joined: Fri Dec 21, 2012 6:04 am

Re: Relative values ​​in the chart.

Post by MikhailIsaev »

BSOD2600 wrote:More detail on what you mean please.
I apologize for my English.

Talking about recycling port = current speed divided by the maximum speed and multiply by 100%.

Global issues:
Ports can be at different speeds on the same device.



A local problem:
Suppose all the ports of the device with the same maximum rate, then it is likely somewhere in the derivation of the graph should be used to translation for "%".
Helmut Schneider
Cacti User
Posts: 151
Joined: Mon Feb 05, 2007 3:57 am
Location: Munich, Germany

Re: Relative values ​​in the chart.

Post by Helmut Schneider »

+1

Graph 2 values (e.g. 200k and 40k) and also have the percentage between both in the same graph. It would be nice if the percentage value could be graphed relative to the highest data source and not flat lined.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Relative values ​​in the chart.

Post by gandalf »

That will be available with the COMPUTE data source. This is code available with 0.8.9, which currently is alpha. Please feel free to download from SVN and test. Don't hesitate to provide feedback in the "Unstable Development Versions" forum
R.
MikhailIsaev
Posts: 7
Joined: Fri Dec 21, 2012 6:04 am

Re: Relative values ​​in the chart.

Post by MikhailIsaev »

gandalf wrote:That will be available with the COMPUTE data source. This is code available with 0.8.9, which currently is alpha. Please feel free to download from SVN and test. Don't hesitate to provide feedback in the "Unstable Development Versions" forum
R.

Hello!
What is meant by "COMPUTE data source"?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Relative values ​​in the chart.

Post by BSOD2600 »

rrdcreate
COMPUTE

is for storing the result of a formula applied to other data sources in the RRD. This data source is not supplied a value on update, but rather its Primary Data Points (PDPs) are computed from the PDPs of the data sources according to the rpn-expression that defines the formula. Consolidation functions are then applied normally to the PDPs of the COMPUTE data source (that is the rpn-expression is only applied to generate PDPs). In database software, such data sets are referred to as "virtual" or "computed" columns.
MikhailIsaev
Posts: 7
Joined: Fri Dec 21, 2012 6:04 am

Re: Relative values ​​in the chart.

Post by MikhailIsaev »

BSOD2600 wrote:
COMPUTE

is for storing the result of a formula applied to other data sources in the RRD. This data source is not supplied a value on update, but rather its Primary Data Points (PDPs) are computed from the PDPs of the data sources according to the rpn-expression that defines the formula. Consolidation functions are then applied normally to the PDPs of the COMPUTE data source (that is the rpn-expression is only applied to generate PDPs). In database software, such data sets are referred to as "virtual" or "computed" columns.



Thank you.
MikhailIsaev
Posts: 7
Joined: Fri Dec 21, 2012 6:04 am

Re: Relative values ​​in the chart.

Post by MikhailIsaev »

BSOD2600 wrote:
COMPUTE

is for storing the result of a formula applied to other data sources in the RRD. This data source is not supplied a value on update, but rather its Primary Data Points (PDPs) are computed from the PDPs of the data sources according to the rpn-expression that defines the formula. Consolidation functions are then applied normally to the PDPs of the COMPUTE data source (that is the rpn-expression is only applied to generate PDPs). In database software, such data sets are referred to as "virtual" or "computed" columns.
The question of "rpn-expression".

Where is will be available for drawing "rpn-expression"?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Relative values ​​in the chart.

Post by BSOD2600 »

Once again, the answer can be found in the rrdtool manual. I strongly suggest you take a read to answer these sorts of questions.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests