Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Moderators: Developers, Moderators
-
- Posts: 33
- Joined: Mon Aug 08, 2005 1:15 am
- Location: Los Angeles, CA
- Contact:
Hey,
Hey,
Just in case some one have the same issue im posting this.
I was trying to get reportit to give me usage on a monthly basis in GB/Month, so we can see who eats up all the bandwidth in a building. All our customers are attached to induvidual ports on Cisco 35XX equipment. But all devices that will give Traffic stats can be used.
This is of course based on the monthly consolidating to 2/hour samples.
Took me forever to get the result right, since months have different days and reportit cant grab sums only values.
Setup a report template:
Consolidation function - Average
Add measurand:
Unit - GB/Month
Rounding - Base(1000)
Calculation Formula - ((f_num/12)*0.0000864)*f_avg
Setup Report:
Sliding Time Frame - Last Month
Down To The Present Day - Uncheck
Create Data Items:
Add all data sources you need in the report (only "Traffic - In/Out - Bytes with Total Bandwidth" sources).
Could just be me thats an idiot, but this should help fellow idiots out there.
Regards,
Martin Madsen
Just in case some one have the same issue im posting this.
I was trying to get reportit to give me usage on a monthly basis in GB/Month, so we can see who eats up all the bandwidth in a building. All our customers are attached to induvidual ports on Cisco 35XX equipment. But all devices that will give Traffic stats can be used.
This is of course based on the monthly consolidating to 2/hour samples.
Took me forever to get the result right, since months have different days and reportit cant grab sums only values.
Setup a report template:
Consolidation function - Average
Add measurand:
Unit - GB/Month
Rounding - Base(1000)
Calculation Formula - ((f_num/12)*0.0000864)*f_avg
Setup Report:
Sliding Time Frame - Last Month
Down To The Present Day - Uncheck
Create Data Items:
Add all data sources you need in the report (only "Traffic - In/Out - Bytes with Total Bandwidth" sources).
Could just be me thats an idiot, but this should help fellow idiots out there.
Regards,
Martin Madsen
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Hey,
I'm really delighted to see that there is somebody who prefers to share his realization with the other community members.
Although I'm the author of ReportIt I also need a sheet of paper and a ballpen to find a calculation formula.
(But without doing and checking this I would say "f_num*step/1000000000*f_avg" should result the same)
Best regards
-Andreas-
I'm really delighted to see that there is somebody who prefers to share his realization with the other community members.
Although I'm the author of ReportIt I also need a sheet of paper and a ballpen to find a calculation formula.
(But without doing and checking this I would say "f_num*step/1000000000*f_avg" should result the same)
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Posts: 33
- Joined: Mon Aug 08, 2005 1:15 am
- Location: Los Angeles, CA
- Contact:
hey
yep, that yields the same result, wasent sure what step was. ut it works just the same.
MM
MM
Thats awesome for working out GB/month, but how do you work out MB/month ?"f_num*step/1000000000*f_avg"
I've tried
But this gives me a wierd result:"f_num*step/1000000*f_avg"
on 773MB incoming and 1.96GB outgoing, it displays it as:
0.75 k incoming
1.90 k outgoing
How do I set it to display in MB correctly?
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Your formula looks right.
"k" stands for 10E3, so ReportIt shows 0.75 * 10E3 * MB/month.
With reference to the "correct" values of your graph you've to use base 10, because I assume that you use base 2 (1024) instead.
That's the reason why the values are a little bit too low.
Best regards
-Andreas-
"k" stands for 10E3, so ReportIt shows 0.75 * 10E3 * MB/month.
With reference to the "correct" values of your graph you've to use base 10, because I assume that you use base 2 (1024) instead.
That's the reason why the values are a little bit too low.
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
You can turn the rouding off, but then you will see all decimal places too.
Maybe I should expand this feature in v0.6.0 .
Any suggestions?
Best regards
-Andreas-
Maybe I should expand this feature in v0.6.0 .
Any suggestions?
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
Can i use ReportIt to report on Disk Space?
browniebraun etc,
Is it possible to use ReportIt to generate reports on Drive space usage? If so, what variables and measurands would i use?
I need to generate a report every week for two of teams of users that exports Drive Letter, Drive Size, and Drive Usage in some sort of tabular format.
Any assistance would be greatly apprecaited.
Thanks
app
Is it possible to use ReportIt to generate reports on Drive space usage? If so, what variables and measurands would i use?
I need to generate a report every week for two of teams of users that exports Drive Letter, Drive Size, and Drive Usage in some sort of tabular format.
Any assistance would be greatly apprecaited.
Thanks
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Generally you can create reports about everything that will be displayed under "Data Template" during the creation of a new report template.
e.g. "Host MIB - Hard Drive Space".
But keep in mind that a report template can always be based on one data template.
Till now I've never monitored my Hard Disk usage, but it should be possible.
(I've only created reports about Memory Usage, Interface Traffic, CPU Usage, Logged In Users, but not Hard Disk usage.)
Anybody here who has done that and who wants to share his experiences?
Best regards
-Andreas-
e.g. "Host MIB - Hard Drive Space".
But keep in mind that a report template can always be based on one data template.
Till now I've never monitored my Hard Disk usage, but it should be possible.
(I've only created reports about Memory Usage, Interface Traffic, CPU Usage, Logged In Users, but not Hard Disk usage.)
Anybody here who has done that and who wants to share his experiences?
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Ok, I've enabled the SNMP service on my Windows PC to test it for you.
Maybe this could give you an idea how to make it. I used the "Host MIB - Hard Drive Space" data template.
For the last two measurands I set rounding to "Base 1000" instead of "Base 1024".
Okay, now I've to go to bed. Here we've half past one in the morning.
Best regards
-Andreas-
Maybe this could give you an idea how to make it. I used the "Host MIB - Hard Drive Space" data template.
For the last two measurands I set rounding to "Base 1000" instead of "Base 1024".
Okay, now I've to go to bed. Here we've half past one in the morning.
Best regards
-Andreas-
- Attachments
-
- results.PNG (81.79 KiB) Viewed 8471 times
-
- measurands.PNG (25.86 KiB) Viewed 8470 times
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
2 questions
Hi all,
i have 2 questions,
1) any news of 95percentile function? is ok now?
2) i have a report locked ( ** in process **). what can i do for unlock it?
thanks!
i have 2 questions,
1) any news of 95percentile function? is ok now?
2) i have a report locked ( ** in process **). what can i do for unlock it?
thanks!
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Hi Sam!
Normally it should work faultlessly. I've removed some correction factors in the main calculation process of v0.5, because they have been errors in reasoning. But there are different ways how to calculate the 95 percentitle.
Unfortunately you've to edit the MySQL dataset manually to reset the report (table 'reportit_reports' column 'in_process' should be '0').
The reports hangs in that status if the calculation has been interrupted or crashed.
Best regards
-Andreas-
Normally it should work faultlessly. I've removed some correction factors in the main calculation process of v0.5, because they have been errors in reasoning. But there are different ways how to calculate the 95 percentitle.
Unfortunately you've to edit the MySQL dataset manually to reset the report (table 'reportit_reports' column 'in_process' should be '0').
The reports hangs in that status if the calculation has been interrupted or crashed.
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
getting error when creating report configuration
Hi,
i am trying to set report configuration and i get this error
any idea
Thx
i am trying to set report configuration and i get this error
any idea
Thx
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 79 bytes) in C:\Inetpub\wwwroot\cacti\plugins\reportit\lib_int\funct_html.php on line 276
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
This will happen if the drop down menu should have too many values. The structure of Cacti expects to work with an array that contains all the values. So you should reconsider your definition of this variable. If you really want to show your users so many possibilities to choose you have to increase your memory for PHP (see PHP.ini ->"memory_limit"). But keep in mind that the browser also has to interpret the HTML code - and this takes time!
IMO you should not configure a drop down menu with more than 5000 values.
Best regards
-Andreas-
IMO you should not configure a drop down menu with more than 5000 values.
Best regards
-Andreas-
Last edited by browniebraun on Sun Jan 13, 2008 1:30 pm, edited 1 time in total.
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
getting error when creating report configuration
Hi,
you where right its where the Variable that caused the pb.
Thanks
you where right its where the Variable that caused the pb.
Thanks
Who is online
Users browsing this forum: No registered users and 5 guests