[ZBX-3346] Incorrect delay betwen few checks an SNMP item Created: 2010 Dec 28 Updated: 2017 May 30 Resolved: 2011 Feb 16 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 1.8.4rc3 |
Fix Version/s: | 1.8.5 |
Type: | Incident report | Priority: | Critical |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Gentoo 34-r6, Oracle 10g2, amd64 |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||
Issue Links: |
|
Description |
SNMP check. Update interval : 5 min (same for 1 min and for 90 seconds) 1 case - the counter has no time to grow. Obtain a failure where it was not. 2 cases - the counter has time to grow. Even more frustrating because breaks down the scale of the map. Zabbix Server v1.8.4rc2 (revision {ZABBIX_REVISION}) (1 November 2010) |
Comments |
Comment by Alexey Pustovalov [ 2011 Jan 06 ] |
troubles only on high load zabbix server: with config: |
Comment by Alexey Pustovalov [ 2011 Jan 06 ] |
Server have 16GB RAM, RAID 1, and 2 Intel(R) Xeon(R) CPU E5420 |
Comment by Jon Henry [ 2011 Jan 11 ] |
We are seeing this issue on some SNMPv2 checks. CentOS 5.5 64-bit, MySQL 5.1 64-bit. Zabbix 1.8.4 final. We have been using Zabbix for a long time and this seems new in 1.8.4. The proxy is not very heavily loaded but the main server is (we have six proxies total). 3427 total hosts, 150969 total items. The logs are exactly like Pustovalov posted. Sometimes the value is 0 and the poll interval is totally wrong. Other times it is double the correct value. Please let me know if you need any other information to help troubleshoot, this is a major issue for us. |
Comment by Jon Henry [ 2011 Jan 11 ] |
Example: Poll interval is 180 seconds (3 minutes) 2011-01-10 14:05:42 1294693542 90382920 It seems to be missing every other poll, and the one time it DOES poll after 3 minutes, it just returns 0. |
Comment by Igor Danoshaites (Inactive) [ 2011 Jan 12 ] |
Henry, but as as I see from your latest data your configured Update interval for this item is 6 min, but not 3 min (13:47:29 - 13:53:29). |
Comment by Alexei Vladishev [ 2011 Jan 12 ] |
Jon, is there any chance to get a screenshot of the item configuration screen in order to see its configuration? It looks very much like you are calculating delta for a non-growing counter, so Zabbix just skips negative numbers (deltas). |
Comment by Brian Talley [ 2011 Jan 12 ] |
Item configuration showing 180 sec interval |
Comment by Jon Henry [ 2011 Jan 12 ] |
That last screenshot was mine. I was logged in under a co-worker's account by mistake. As you can see it is configured for a 3 minute poll cycle. We are seeing another problem with polling on this template, too. Sometimes the values are roughly double what they should be, and sometimes it polls twice within a few seconds. Look at the lines marked with ***** below 2011-01-10 11:05:59 1294682759 68657176 ***** |
Comment by Alexey Pustovalov [ 2011 Jan 12 ] |
last missed interval for SNMP item. I add screenshots in bug for thise. |
Comment by Alexey Pustovalov [ 2011 Jan 12 ] |
today i discover what troubles with snmp hosts via zabbix proxy too. |
Comment by Alexander Vladishev [ 2011 Jan 17 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-3346 |
Comment by Alexey Pustovalov [ 2011 Jan 17 ] |
not fixed for me with branch: 17.Янв.2011 21:21:09 1044514408 17.Янв.2011 21:05:10 1195238584 |
Comment by Alexander Vladishev [ 2011 Jan 18 ] |
Thank you, Alexey. |
Comment by richlv [ 2011 Jan 18 ] |
any info on what was the cause and when did the problem manifest itself ? |
Comment by Aleksandrs Saveljevs [ 2011 Jan 18 ] |
The problem seemed to occur when configuration cache was updating at the same time when an item was already being processed by some poller. An item got inserted into the queue, even though it should not have been. |
Comment by Alexey Pustovalov [ 2011 Jan 18 ] |
fixed... now items not checks twice... |
Comment by Jon Henry [ 2011 Jan 18 ] |
The svn://svn.zabbix.com/branches/dev/ZBX-3346 URL stopped working today. Is there another URL I can use to downloaded the fixed code? I'd like to patch our servers since this is causing big problems for us. Unless 1.8.5 is coming out very soon |
Comment by Alexei Vladishev [ 2011 Jan 18 ] |
The very latest 1.8.x code is always available at svn://svn.zabbix.com/branches/1.8. We remove development branches as soon as a change is merged into stable branch and/or trunk. |
Comment by Jon Henry [ 2011 Jan 18 ] |
I see. Thank you! |
Comment by Alexander Vladishev [ 2011 Jan 18 ] |
Fixed in version pre1.8.5, r16995. |
Comment by as [ 2011 Feb 16 ] |
I have the latest stable version 1.8.4. Where can I download a "patch" to fixe this problem, as Jon refer url "svn://svn.zabbix.com/branches/dev/ZBX-3346" is not working. |
Comment by Igor Danoshaites (Inactive) [ 2011 Feb 16 ] |
Hi! This issue has been fixed in the pre-v1.8.5. |
Comment by Igor Danoshaites (Inactive) [ 2011 Feb 16 ] |
Closing resolved issue. |
Comment by Aleksandrs Saveljevs [ 2011 Feb 16 ] |
As Alexei mentioned earlier, development branches are removed as soon as the changes are merged into the main branches. The latest 1.8 code (with this fix included) is always available at svn://svn.zabbix.com/branches/1.8. If you wish to patch 1.8.4, you can do "svn di -c 16995 svn://svn.zabbix.com/branches/1.8" and apply the resulting patch on 1.8.4 distribution. I have not tried though. |
Comment by Aleksandrs Saveljevs [ 2011 Feb 16 ] |
Ignore my comment. Igor was faster. |
Comment by as [ 2011 Feb 16 ] |
Hi Igor/Aleksandrs Thanks by your fast reply. How can I apply the patch ? It is safe to apply the patch can I do a backup. Many thanks in advance. |
Comment by Aleksandrs Saveljevs [ 2011 Feb 17 ] |
Please find useful instructions from Igor for applying the patch: You should patch your zabbix_server and zabbix_proxy and then re-compile and re-install them. 1. cd zabbix-1.8.4 |
Comment by Igor Danoshaites (Inactive) [ 2011 Feb 17 ] |
>How can I apply the patch ? Is it safe to apply the patch ? Can I do a backup ? -->1. Sorry, small mistake in my comment, in the second row the correct command should be: "cat zabbix-1.8.4-delay.patch|patch -p0" 2. Yes, it is absolutely safe to apply this patch. |
Comment by as [ 2011 Feb 21 ] |
Hi, This really solve my problem, great support people Many thanks especialy to Aleksandrs Saveljevs and Igor Danoshaites. Regards. |
Comment by hamid sfandiari [ 2011 Oct 11 ] |
this issue was happened again in 1.8.8 stable sample data : but the real speed is around 200-220Mbps |