ZABBIX Forums Graph with large spike/peak.
 Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

#1
08-05-2012, 15:39
 robertdb Junior Member Join Date: Oct 2011 Location: Breukelen, The Netherlands Posts: 9
Graph with large spike/peak.

Hi,

We have a few graphs that show a spike or peak from time to time. I guess this user experienced the same.

My analysis is that Zabbix was not able to read data for some time, after which it read a much larger value of the device.

Here is some information about the analysis.

The spike in the graph:

Values from the database:
Code:
```mysql> select * from history_uint where itemid=46069 and clock > 1336039154 and clock < 1336042754;
+--------+------------+-------------+
| itemid | clock      | value       |
+--------+------------+-------------+
|  46069 | 1336039218 |  4341792000 |
|  46069 | 1336039277 |  2724783880 |
|  46069 | 1336039334 |   644267520 |
|  46069 | 1336042515 | 88831519920 |
|  46069 | 1336042577 |  1286807600 |
|  46069 | 1336042635 |   154926200 |
|  46069 | 1336042696 |   244149880 |
+--------+------------+-------------+
7 rows in set (0.02 sec)```
The fourth value (88831519920) is much higher than the others, if you take a look at the clock value, you will notice there is a gap of approximately 3000 seconds or so.

Type of information: Numeric (unsigned)
Data type: Decimal
Store value: Delta (Simple change)

In order to get the graph right, I guess there are several solutions:
1. Zabbix should not store the first value after a period of no-data.
2. Zabbix should not graph the first value after a period of no-data.
3. Zabbix should graph the average over the time of the no-data period.

Does anybody recognise this behavior or have a solution?

Regards, Robert de Bock.
Attached Images

#2
09-05-2012, 23:37
 eskytthe Senior Member Join Date: May 2011 Location: Denmark Posts: 363

Your root problem is that zabbix server/agent does not get or are not able to get data for long time. You have to dig into that.
Maybe the host your are monitor have real performance problems - e.g. look at other items for that host in same time spans.
Br
Erik
#3
10-05-2012, 14:46
 robertdb Junior Member Join Date: Oct 2011 Location: Breukelen, The Netherlands Posts: 9

Quote:
 Originally Posted by eskytthe Your root problem is that zabbix server/agent does not get or are not able to get data for long time. You have to dig into that. Maybe the host your are monitor have real performance problems - e.g. look at other items for that host in same time spans. Br Erik
I agree that it's a problem that this box was not responding, but there are different situations where the graphing could go wrong:
1. A maintenance period without capturing data
3. Maintenance for the Zabbix server or database

So, I still think the algorithm Zabbix uses to graph stuff is incorrect.
#4
13-05-2012, 13:45
 eskytthe Senior Member Join Date: May 2011 Location: Denmark Posts: 363

This may be related even that it is data/sec:
https://support.zabbix.com/browse/ZBX-4884
(fixed in 1.8.13)
/Erik
#5
14-05-2012, 11:08
 robertdb Junior Member Join Date: Oct 2011 Location: Breukelen, The Netherlands Posts: 9

Quote:
 Originally Posted by eskytthe This may be related even that it is data/sec: https://support.zabbix.com/browse/ZBX-4884 (fixed in 1.8.13) /Erik
I think you are right, that might well be the same problem. The solution would be to update to 1.8.13, which is stable. I'll try, thanks a lot for that link!

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Zabbix Announcements     Zabbix Announcements Zabbix Discussions and Feedback     Zabbix Suggestions and Feedback     Zabbix Help     Zabbix Cookbook     Zabbix Troubleshooting and Problems     Zabbix for Large Environments Zabbix in Your Language     На русском языке     Em Português y En Español     In lingua italiana     En français     中文论坛     Auf Deutsch Zabbix (alpha, beta) Discussions and Feedback     Zabbix Feedback for alpha and beta versions     Zabbix Patches General     Off-topic discussion     Site feedback

All times are GMT +2. The time now is 06:03.