[ZBX-20404] Zabbix Agent 2 can't obtain metrics from MongoDB - i/o timeout. Created: 2021 Dec 30  Updated: 2024 Apr 10  Resolved: 2022 Jun 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G)
Affects Version/s: None
Fix Version/s: 6.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Aleksey Volodin Assignee: Eriks Sneiders
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB 3.6.8


Attachments: Text File MongoDB_log.txt     Text File cms.txt     Text File dxl.txt     Text File dxlgwp1.txt     Text File dxlgwr1.txt     Text File dxlmngdr1.txt     Text File dxlmngdr2.txt     PNG File image-2022-06-14-17-07-37-443.png     PNG File image-2022-06-14-17-09-15-327.png     File zabbix_agent2.7z    
Issue Links:
Causes
Duplicate
is duplicated by ZBX-20554 MongoDB Plugin hangs on Agent2 on Win... Closed
is duplicated by ZBX-20857 MongoDB plugin hangs during high I/O ... Closed
is duplicated by ZBX-20883 Error connecting to mongo using Mongo... Closed
Sub-task
part of ZBX-20857 MongoDB plugin hangs during high I/O ... Closed
Team: Team INT
Sprint: Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022)
Story Points: 1

 Description   

After some time Zabbix Agent got this error:

 

2021/12/14 14:16:05.824829 [Mongo] Created new connection: IP:27018
2021/12/14 16:31:23.551136 [Mongo] Attempt to reconnect: IP:27018
2021/12/14 16:31:23.551237 [Mongo] Cannot fetch data: read tcp IP:11336->IP:27018: i/o timeout.

 



 Comments   
Comment by Yuriy [ 2022 Jan 20 ]

Hello. Could you change the ZBXNEXT-6891 start status to "bug"? A serious problem is not resolving.

Comment by kawan jaberi [ 2022 May 18 ]

Dears

 

I used zabbix 6.0.3 on Server and 5.4.1 on proxy 

my agent on MongoDB upgrade to 6.0.4

but we faced to timeout issue on agent to fetch data from Mongodb:

[Mongo] Cannot fetch data: read tcp ip:59471->ip:26060: i/o timeout.

[Mongo] Socket 0xc00001c0e0 to ip:26060: notifying replyFunc of closed socket: read tcp ip:59471->ip:26060: i/o timeout

MongoDB version 3.2.6

 

Would you please help which version on agent or proxy should install?????

Comment by Eriks Sneiders [ 2022 Jun 06 ]

Dear kawanjaberi and anyone affected with a similar issue.

MongoDB plugin migration is in progress and will be available soon as a stand-alone plugin for Zabbix agent 2 release 6.0.x, with improved performance and should resolve the issue.

See ZBXNEXT-6891 details.

Comment by kawan jaberi [ 2022 Jun 14 ]

Dear esneiders 

 

How to can install this plugin on my server. because we get conflict this package with zabbix agent2. 

and also where is path of mongodb plugin executable?

 

 

Comment by kawan jaberi [ 2022 Jun 14 ]

if insert manual path:

 

Generated at Fri Mar 14 16:07:41 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.