Top 10 most utilized

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
stream
Posts: 2
Joined: Tue Nov 25, 2003 11:48 am

Top 10 most utilized

Post by stream »

Hi
Is there any way to get Cacti to view the Top 10 most utilized interfaces/cpu (% and actual usage) ?

Also it would be realy interesting to have the same functionality for top 10 error interfaces.

I use Cacti for monitoring of over 1000 objects so this functionality is of great importance for me :)

Reagrds,
Stream[/b]
Brashquido
Cacti User
Posts: 99
Joined: Sat Feb 28, 2004 10:16 pm
Location: Melbourne, Australia
Contact:

Post by Brashquido »

A great idea, and would tie in with alarm/event notification.
Adze15021979
Posts: 8
Joined: Thu Jul 07, 2005 4:31 am

Post by Adze15021979 »

Sounds like a good idea. Cricket (another rrdtool front-end) has support voor top 20 usage, top 20 errors, top 20 anything. But i love to see support for top X in cacti. :D
koen
Posts: 1
Joined: Wed Sep 14, 2005 1:57 am

Post by koen »

Same here. I can't believe this feature has not been requested a lot more. For any larger network or ISP this is a must. Cricket does have such functionality although I like cacti much more.
sharpone
Posts: 12
Joined: Fri May 06, 2005 6:15 pm

Post by sharpone »

Just wanted to add my vote to this feature request. Perhaps there could be a 3rd view tab next to "graphs" called "top 10" which would list all the graph template names on one side, and when you click one it shows 10 or 20 in order of most utilized to least on the right hand side...

As always, my development skills are not the best, but I'm glad to help where I can.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I have been thinking about this....

This would have to be stored after the poller ran, most effecient place to do it. And it would only be as of that moment, not a time in the past.

Also, I guess it would have to be grouped by graph template. That's the only safe way I can think to do it. Otherwise, we are looking at a lot of data to store in large enviroments.
[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]
sharpone
Posts: 12
Joined: Fri May 06, 2005 6:15 pm

Post by sharpone »

I'm not sure about cpu graphs, etc. But for bandwidth graphs couldn't you basically calculate the 95th percentile for the specified time period on each graph and then pick the top 10/20 of those to draw? That would give you a top ten list if you chose say 1 year.

I assume that since every graph is composed of (suprise) numbers, you could use this strategy for every graph type... on graphs that don't have the line as part of the template, you just use the 95th percentile as a ranking mechanism.

I need to brush up on my rrdtools but I think this should be possible. Just tossing out ideas.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

While that's a good idea, I worry about processing time....

95th, btw, is calculated on the fly, when the graphs are generated.

I will ponder this.. :)
[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]
sharpone
Posts: 12
Joined: Fri May 06, 2005 6:15 pm

Post by sharpone »

I was wondering about processing time as well, but like you said they are calculated on the fly anyway, so I guess at worst it has to run 2 rrd queries for every graph... one to calc the 95th and one to actually generate the graph... Then of course the script to place each graph in its correct spot depending on an array of collected 95ths...

There may be those that can't take the processor hit, our stuff runs on a little 1.7 celeron box polling about 450 items (not many by others standards I'm sure) but it keeps up ok.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I'm thinking this will be a plugin I write for the next major version of 0.9.0. :)
[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 0 guests