how to add multi-hosts in one graph?

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

Moderators: Developers, Moderators

Enforcer
Posts: 10
Joined: Thu Apr 08, 2004 1:06 pm

Post by Enforcer »

ok works only one problem left

i looked at
Graph Template Items [edit: Interface - Traffic (bits/sec, 95th Percentile)]

and i wonder about the assignment of the datasources
why the hrule and comment only assigned from output data source and still show 95% of both ?

Thats what i wonder about and second thing is why my hrule with HRULE: |95:bits:0:max:2| in "sum all data sources" dont work

it dont even show something (no line) and if you remove the datasource from the hrule as it should take from the sum of all there is an rrd error.


Thx
Daniel
Enforcer
Posts: 10
Joined: Thu Apr 08, 2004 1:06 pm

Post by Enforcer »

i start to feel bad for my spam .. sorry for that already

i looked at the graph source and saw:

HRULE:702114402.46#FF0000:"95th Percentile"

so i think thats some kind out of range and dont get shown thats why.

Get the 95% value filled by cacti ?
Enforcer
Posts: 10
Joined: Thu Apr 08, 2004 1:06 pm

Post by Enforcer »

well ok i looked the php code .. so it looks like a bug connected with 95% and "sum all data sources".

I will let you know when i had time to fix it. Meanwhile i would happy about others with the same problem maybe submit there fix here.

I dont looked at the code in more details i just found the function supposed to calc the value and see the iterations so i think that can really but if its set as sum over all values.

Cya
Daniel
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of cacti are you running?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Enforcer
Posts: 10
Joined: Thu Apr 08, 2004 1:06 pm

Post by Enforcer »

0.8.5a

i will make a diff - i did a first patch what is in the state worksforme(tm)
Enforcer
Posts: 10
Joined: Thu Apr 08, 2004 1:06 pm

Post by Enforcer »

thats a diff from my "patched" 0.8.5a to the 0.8.6c.

Its not fully working yet i think i just looked what vars are assigned and what not and "fixed" that.
Attachments
graph_variables.php.diff.gz
(1.76 KiB) Downloaded 214 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Upgrade to 0.8.6c.

Then let's talk again.. ;)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests