[ZBX-8463] Poller not effectively gets items from queue Created: 2014 Jul 10  Updated: 2017 May 30  Resolved: 2014 Aug 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.2.4
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Andrei Gushchin (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: cache, queue, snmp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-8528 random lost UDP packets lead to not b... Closed

 Description   

Zabbix poller process stops getting items from queue if next item has differences from previous ones.

For example. We have the following queue:
interfaceid, port, type, snmp_community, ....
1, 161, 1, public, ...
1, 161, 1, public, ...
1, 161, 1, public, ...
2, 161, 1, public, ...
1, 161, 1, public, ...
1, 161, 1, public, ...
1, 161, 1, public, ...
1, 161, 1, public, ...

1st poller - gets first 3 items.
2nd poller - gets 4th item
3rd poller - gets latest 4 items



 Comments   
Comment by Oleksii Zagorskyi [ 2014 Jul 10 ]

I don't think here is an issue.

Comment by Oleksii Zagorskyi [ 2014 Jul 17 ]

See also ZBX-8475

Comment by Oleksii Zagorskyi [ 2014 Jul 28 ]

ZBX-8528 could explain some details of this issue.
When Andrey has created this issue I recall we discussed zabbix server behavior in unstable network where many network errors logged for snmp checks.

I still don't see anything wrong in first sentence of issue description.
Remember also about item update interval and other snmp parameters.

Comment by Aleksandrs Saveljevs [ 2014 Jul 30 ]

To be a bit more precise, function __config_snmp_item_compare() in dbconfig.c is used for comparing SNMP items in the queue. Since for SNMP bulk purposes all relevant parameters have to be the same, we can only take items from the queue which are the same according to this function.

Andrei, taking the above into account, could you please elaborate more on the problem and how to reproduce it?

Comment by Aleksandrs Saveljevs [ 2014 Jul 30 ]

If you have an environment where this issue is reliably reproducible, could you please show a tcpdump of the traffic between Zabbix server and one particular device that shows that it does not work according to https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/snmp#internal_workings_of_bulk_processing ? Please capture traffic right from Zabbix server restart and attach the *.pcap file here.

For instance, a command line like the following could work:

# tcpdump -npU -w traffic.pcap 'host 192.168.1.1 and udp'

Also, what kind of devices are you monitoring and how many SNMP items do they have?

Comment by Andrei Gushchin (Inactive) [ 2014 Aug 07 ]

It seems it is dupe of ZBX-8528

Generated at Fri Apr 04 03:31:28 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.