Weird problem with total traffic counts

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

Moderators: Developers, Moderators

Axoft - Yavuz
Posts: 10
Joined: Wed Mar 18, 2009 7:09 am

Post by Axoft - Yavuz »

The time-frame seems a bit off, however the countings of the totals are totally wrong again. See attachments.
Attachments
New graph
New graph
graph_new.png (9.54 KiB) Viewed 1515 times
new.csv.txt
New csv
(405 Bytes) Downloaded 79 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

browniebraun wrote:Till now I did not found any issue within the output of ReportIt, but the csv dump is totally unusable. (e.g. the start and end date represent the start point of unixtime. :o )
Please try following steps: Go to the yearly graph of that interface and zoom into that graph. Then edit the url and change manually the time frame. Setup parameters as follows:
graph_start=1228003200
graph_end=1230767999

Compare the results of that graph with the results of ReportIt.

Best regards
-Andreas-
Is this a Cacti bug. If so, please open a Mantis ticket...
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I'm jsut curious, it is the CSV file supposed to have

Code: Select all

Start Date:	1970-01-01 01:00:00
End Date:	1970-01-01 01:00:00
? As I can confirm this with my 0.8.7d installation I'm opening a bug for that ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
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 questions!

Before anyone puts in a bug, please wait for me to request it concerning this issue. At this point there is not enough information for a bug report that will get anything resolved.

Questions:

1. I need to see your rra definitions, as they stand now your system.
2. I need a rrdtool dump of the rrd file in question, the path is in the graph debug you posted.

Based on what I have observed from this post at this point, I have concerns about the granularity of the data in the selected time frame. Cacti uses the AVERAGE when fetching data from the RRDtool files. This isn't the best method, especially when you have data being retrieved from consolidated data sources, which appears to be the case here.

What you are seeing is a common side effect to this unfortunate method. I have plans to alleviate this situation in 0.8.8. This is no simple problem and it will not be tackled in the 0.8.7 code base. Just fixing this, without having a clear plan on conversion and having fail safes in the code will break 90% of the graph variable definition in the field. Mostly due to missing rra definitions in RRDtool files.

Please provide me with the information that I have requested above so that I can completely diagnose this issue.

Thanks!
[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]
Axoft - Yavuz
Posts: 10
Joined: Wed Mar 18, 2009 7:09 am

Post by Axoft - Yavuz »

RRA definitions:
Name: Hourly (1 Minute Average)
Consolidation Functions: AVERAGE, MAX
X-Files Factor: 0.5
Steps: 1
Rows: 500
Timespan: 14400

Name: Daily (5 Minute Average)
Consolidation Functions: AVERAGE, MAX
X-Files Factor: 0.5
Steps: 1
Rows: 600
Timespan: 86400

Name: Weekly (30 Minute Average)
Consolidation Functions: AVERAGE, MAX
X-Files Factor: 0.5
Steps: 6
Rows: 700
Timespan: 604800

Name: Monthly (2 Hour Average)
Consolidation Functions: AVERAGE, MAX
X-Files Factor: 0.5
Steps: 24
Rows: 775
Timespan: 2678400

Name: Yearly (1 Day Average)
Consolidation Functions: AVERAGE, MAX
X-Files Factor: 0.5
Steps: 288
Rows: 797
Timespan: 33053184

Name: Year, no average, 1 min PDPs
Consolidation Functions: AVERAGE
X-Files Factor: 0.5
Steps: 1
Rows: 527040
Timespan: 33053184
The last one (Year, no average, 1 min PDPs) is a new one which is supposed to be used instead of all the other ones, but is not in use at this moment.

Attached is the dump of the rrd file.
Attachments
rrddump.xml
rrdtool dump
(605.32 KiB) Downloaded 78 times
Axoft - Yavuz
Posts: 10
Joined: Wed Mar 18, 2009 7:09 am

Post by Axoft - Yavuz »

Is there any progress on this?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can you please install my SpikeKill plugin and perform an analysis and send us a screen capture of that analysis.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Axoft - Yavuz
Posts: 10
Joined: Wed Mar 18, 2009 7:09 am

Post by Axoft - Yavuz »

Does this help? If not, can you please be more specific?
Attachments
spikekill.jpg
spikekill.jpg (286.32 KiB) Viewed 1384 times
Axoft - Yavuz
Posts: 10
Joined: Wed Mar 18, 2009 7:09 am

Post by Axoft - Yavuz »

Is there any update?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest