Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


ReportIt Noob

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
charlesdf23



Joined: 13 Nov 2008
Posts: 25

PostPosted: Thu Nov 13, 2008 2:38 pm    Post subject: ReportIt Noob Reply with quote

This may be something stupid, but I'm trying to just write basic reports and I can't seem to find any documentation anywhere on the basics.

I am trying to write a report that will show me all of the Max bits per interface and I'm ending up with the Ki and Mi. Ideally I would like to to see a max % utilization, but I haven't been able to get that far yet.

thanks in advance

Here's what I have....

[/img]



report.jpg
 Description:
 Filesize:  46.12 KB
 Viewed:  640 Time(s)

report.jpg



measurand.jpg
 Description:
 Filesize:  68.48 KB
 Viewed:  640 Time(s)

measurand.jpg


Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 341
Location: Cologne, Germany

PostPosted: Thu Nov 13, 2008 3:17 pm    Post subject: Re: ReportIt Noob Reply with quote

charlesdf23 wrote:
This may be something stupid, but I'm trying to just write basic reports and I can't seem to find any documentation anywhere on the basics.

I am trying to write a report that will show me all of the Max bits per interface and I'm ending up with the Ki and Mi. Ideally I would like to to see a max % utilization, but I haven't been able to get that far yet.

thanks in advance

Here's what I have....

[/img]


Ki and Mi .... standardized, binary prefixes.
Ok, back to your task. At first switches and routers usually return bytes not bits. So in this case we've to multiply it with 8 to get Bits/s. To calculate the max. utilization we've to see the maximum traffic in relation to the bandwidth, which results in :
"f_max*8/maxValue".

IMO it's recommend to use decimal SI-Prefixes in this case.

Best regards
-Andreas-
Back to top
charlesdf23



Joined: 13 Nov 2008
Posts: 25

PostPosted: Thu Nov 13, 2008 3:38 pm    Post subject: Reply with quote

That seemed to do it. Is there a way to sort the data as it's coming up.
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 341
Location: Cologne, Germany

PostPosted: Fri Nov 14, 2008 3:22 am    Post subject: Reply with quote

charlesdf23 wrote:
That seemed to do it. Is there a way to sort the data as it's coming up.

Ooops, I took a look at the formula and saw that we've forgotten to multiply it with 100. At the moment you should get something like '0.45'.
So change it to "(f_max*8/maxValue)*100".

Sorry, but I didn't understand your second question. Maybe I should drink a cup of coffee first. Have you seen the arrows right beside the unit, which allow to sort the results?

Best regards
-Andreas-

... my coffee is ready!
Back to top
cactusdummy



Joined: 16 Dec 2008
Posts: 7

PostPosted: Tue Dec 16, 2008 8:47 am    Post subject: docu or howto please! Reply with quote

Dear browniebraun.

First of all I want to thank you for your good work and your excellent plugin reportit.
As far as I can see it works very good for most of the people.

But I have got a problem that many others have too.

I and many others need documentation or a howto.

It would really be kind of you if you could find some time to write at least some introducing stuff for beginners like me, explaining some basic steps to a report and working with measurands or variables.

Thank you in advance

Frank

PS: Gruesse aus Kassel
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group