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    


Report plugin ''ReportIt" - v0.6.1 (released 05/29/08)
Goto page Previous  1, 2, 3 ... , 28, 29, 30  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
jeancarlos84



Joined: 13 Oct 2008
Posts: 3

PostPosted: Mon Oct 13, 2008 1:24 pm    Post subject: Reply with quote

sorry for my english.
I am sending images to try clarify...


The difference is that the report shows the value in "float" but I need to round the value



img2.jpg
 Description:
this image is the graph with the value in "INT" and not in "FLOAT", for this to work in graphic, i used the "Exact Numbers" in the GPRINT cacti.
 Filesize:  27.68 KB
 Viewed:  1378 Time(s)

img2.jpg



img1.jpg
 Description:
this image is the report created
 Filesize:  35 KB
 Viewed:  1378 Time(s)

img1.jpg


Back to top
sodium



Joined: 01 Feb 2006
Posts: 24

PostPosted: Thu Oct 16, 2008 9:06 am    Post subject: Reply with quote

browniebraun wrote:
[...] "f_xth(95)" means sort all values as a sequence and throw the highest 5% away. In that case ReportIt returns "12" as billable utilization. So we get 288000 (12*8*300*10)


On last question, would it be possible to calculate the same value as can be done with the 95 Percentile HRULE (HRULE: |95:bits:0:max:2|)
To my knowledge is this the same as the reportit f_xth(95) but then on the in+out traffic together.
Back to top
browniebraun
Cacti User


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

PostPosted: Fri Oct 17, 2008 12:37 pm    Post subject: Reply with quote

To be honest,
I do not know how the HRULE works. Any ideas?


Best regards
-Andreas-
Back to top
sodium



Joined: 01 Feb 2006
Posts: 24

PostPosted: Fri Oct 17, 2008 12:59 pm    Post subject: Reply with quote

browniebraun wrote:
To be honest,
I do not know how the HRULE works. Any ideas?


I think it sorts all data (in + out) and then does the nth(95) magic. I've got lots of graphs with the 95% HRULE... and according my superficial research it uses the above aproach
so using your own example the first 5 numbers are in-traffic and the last 5 are out-traffic.... HTH
Back to top
browniebraun
Cacti User


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

PostPosted: Fri Oct 17, 2008 3:11 pm    Post subject: Reply with quote

Ok,
I also read in the manual about the features of the nth percentile stuff, but
in ReportIt v0.6.1 I do not see a solution how to make a calculation in the same way Cacti does.
Therefore it would be necessary to extend the calculation process.

Best regards
-Andreas-
Back to top
thebull



Joined: 30 Sep 2008
Posts: 5

PostPosted: Mon Oct 20, 2008 7:35 pm    Post subject: Need assistance on installing Manage Plugin Reply with quote

Hi All,

I tried installing Manage plugin as intructed on the forum but no success.

My configuration

Cacti Version 0.8.7b
Plugin Architecture 2.1
Poller Type CMD.php
Server Info Windows NT 5.2
Web Server Microsoft-IIS/6.0
PHP Version 5.2.6
PHP Extensions bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, mysql, snmp, sockets
MySQL Version 5.0.67-community-nt
RRDTool Version 1.2.15


Need assistance, am i missing anything.
Back to top
browniebraun
Cacti User


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

PostPosted: Tue Oct 21, 2008 2:25 am    Post subject: Reply with quote

I'm not the author of the Manage Plugin.

Best regards
-Andreas-
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2252
Location: United Kingdom

PostPosted: Tue Oct 21, 2008 1:59 pm    Post subject: Reply with quote

I have just installed ReportIt 0.6.1, and found that when I add data items, I get a HUGE list of data sources, with 6 or more of the same item, all with the same checkbox name.

Adding a 'DISTINCT' to the query on line 170 of cc_items.php has improved this, although the 'paging' is still wrong. Unfortunately DISTINCT doesn't affect the COUNT() sql function, so $total_rows is still incorrect.

By the way, it would be great to be able to just press 'just add ALL of these' even if they span many pages - or do something like the scheduled 'auto-data sources' option must already do.
Back to top
browniebraun
Cacti User


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

PostPosted: Tue Oct 21, 2008 11:20 pm    Post subject: Reply with quote

Howie wrote:
I have just installed ReportIt 0.6.1, and found that when I add data items, I get a HUGE list of data sources, with 6 or more of the same item, all with the same checkbox name.

Adding a 'DISTINCT' to the query on line 170 of cc_items.php has improved this, although the 'paging' is still wrong. Unfortunately DISTINCT doesn't affect the COUNT() sql function, so $total_rows is still incorrect.

By the way, it would be great to be able to just press 'just add ALL of these' even if they span many pages - or do something like the scheduled 'auto-data sources' option must already do.


Hi Howie!

Oops, I thought there would be a bug fix for it in 0.6.1, but I've just seen that it is only included in the SVN (Rev. 93).
Please replace (additionally to line 170) line 228:

from
Code:
$total_rows = db_fetch_cell(str_replace('a.local_data_id AS id, a.name_cache','COUNT(a.local_data_id)',$sql));

to
Code:
$total_rows = db_fetch_cell(str_replace('DISTINCT a.local_data_id AS id, a.name_cache','COUNT(DISTINCT a.local_data_id)',$sql));


From my point of view a 'just add ALL of these' - button will invite users to create reports without thinking about what they are doing.
Please note that a single CPU Core will come under stress during the calculation process.

Best regards
-Andreas-
Back to top
Heiko



Joined: 23 Apr 2008
Posts: 27

PostPosted: Thu Oct 23, 2008 2:59 am    Post subject: reports going wrong Reply with quote

Hello,
I have generated reports for the last 3 months, and we had the most traffic in september, but the reports say the july had most.
Are we doing something wrong with the settings?
In the attached pic you can see the graph and this are the numbers the reports give us:

Code:

july:
1        3.22 T   1.29 T
2    51.73 G   224.97 G
Sum   3.27 T   1.51 T


Code:

august:
1       1.46 T   0.52 T
2       5.14 G   34.56 G
Sum   1.46 T   0.55 T


Code:

september:
1      2.35 T   0.85 T
1      15.23 G   65.38 G
Sum   2.37 T   0.91 T


we really depent on these numbers, is there a way to fix this?

MY template has these settings:

Consolidation function MAX

measurand: Bytes/s
Rounding: Binary SI-Prefixes(Base 1024)
Formula: f_sum*step



thx and greetings


Heiko



yearly_lq.png
 Description:
 Filesize:  31.79 KB
 Viewed:  1055 Time(s)

yearly_lq.png


Back to top
browniebraun
Cacti User


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

PostPosted: Thu Oct 23, 2008 4:35 am    Post subject: Reply with quote

Heiko,

it seems to me that your graph is based on AVERAGE values. Take a look at your graph source.
If I'm right I would suggest to display the max values like a shadow behind the average values. That's the way be use to make it in our company.

Best regards
-Andreas-
Back to top
Heiko



Joined: 23 Apr 2008
Posts: 27

PostPosted: Thu Oct 23, 2008 5:06 am    Post subject: Reply with quote

should I use the MAX function and the 1000 Base for generating reports?
My boss ist killing me because we have different results.
We just wanna have the total traffic for one month.


I changed the display optione, but dont think that gave me more info.



settings.png
 Description:
 Filesize:  28.33 KB
 Viewed:  1031 Time(s)

settings.png



yearly_lq_2.png
 Description:
 Filesize:  46.09 KB
 Viewed:  1036 Time(s)

yearly_lq_2.png


Back to top
browniebraun
Cacti User


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

PostPosted: Thu Oct 23, 2008 5:16 am    Post subject: Reply with quote

I would use CF Average and Base1000 to calculate the amount of data.
Do not forget that ReportIt has a debug mode at the CLI.

Best regards
-Andreas-
Back to top
toe_cutter



Joined: 12 Sep 2008
Posts: 9
Location: Sweden

PostPosted: Wed Nov 12, 2008 10:13 am    Post subject: Reply with quote

Hi again!

Im not quite sure i understand the function f_grd. Isnt it supposed to show by how much a graph increased or decreased during the reported period?

Im graphing CPU's from our switches and the highest value from the f_grd function so far is +0.18 during a 2day report period (i'll be making reports over the 28day period, but that only gives a highest of +0.02), what i think is percent at least. But the graphs themselves can have increased from 1% load to 25% or more during the period.

Is it possible to have ReportIt to draw this f_grd line onto the generated graph, for visualization?
Im trying to get the amount the CPU increased/decreased over time since we changed a configuration item for multicast networking.

And yes, you may call me dumb :]



f_grd1.PNG
 Description:
The reported GRD.
 Filesize:  9.2 KB
 Viewed:  677 Time(s)

f_grd1.PNG



f_grd3.PNG
 Description:
The top graph from the report.
 Filesize:  17.02 KB
 Viewed:  677 Time(s)

f_grd3.PNG



f_grd2.PNG
 Description:
The simple measurands used heh :)
 Filesize:  6.32 KB
 Viewed:  677 Time(s)

f_grd2.PNG


Back to top
browniebraun
Cacti User


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

PostPosted: Wed Nov 12, 2008 4:57 pm    Post subject: Reply with quote

toe_cutter wrote:
Hi again!

Im not quite sure i understand the function f_grd. Isnt it supposed to show by how much a graph increased or decreased during the reported period?

The functions returns the change (increase or decrease) per step (the distance between 2 measured values).


Quote:

Im graphing CPU's from our switches and the highest value from the f_grd function so far is +0.18 during a 2day report period (i'll be making reports over the 28day period, but that only gives a highest of +0.02), what i think is percent at least. But the graphs themselves can have increased from 1% load to 25% or more during the period.


To get the estimated increase you've to multiply it with the number measured values. Change your formula as follows: "f_grd*f_num"
Regarding your graph you should get an estimated increase of ~17% for a 2day report period.

Quote:

Is it possible to have ReportIt to draw this f_grd line onto the generated graph, for visualization?


Sorry, but I think I've to pass this question to Gandalf. He's the master of graphs. (As far as I know RRDtool is able to calculate and to draw it on its own.)

Quote:

Im trying to get the amount the CPU increased/decreased over time since we changed a configuration item for multicast networking.

See above.

Quote:

And yes, you may call me dumb :]
No, the issue is the missing documentation. But I restarted to write online docs and I pore over the development of ReportIt 0.7.

Best regards
-Andreas-



preview.png
 Description:
 Filesize:  40.91 KB
 Viewed:  657 Time(s)

preview.png


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... , 28, 29, 30  Next
Page 29 of 30

 



Powered by phpBB © 2001, 2005 phpBB Group