[ZBX-21903] The agent fails to obtain data because a monitoring item times out Created: 2022 Nov 10  Updated: 2024 Apr 10  Resolved: 2022 Dec 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G)
Affects Version/s: 5.0.29, 6.0.10, 6.2.4, 6.4.0beta3
Fix Version/s: 5.0.31rc1, 6.0.13rc1, 6.2.7rc1, 6.4.0beta5, 6.4 (plan)

Type: Problem report Priority: Major
Reporter: lijiyun Assignee: Michael Veksler
Resolution: Fixed Votes: 0
Labels: agent
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Red Hat Enterprise Linux Server release 7.6
zabbix-proxy-pgsql-5.0.26-1.el7.x86_64
zabbix-get-5.0.26-1.el7.x86_64
zabbix-agent2-5.0.26-1.el7.x86_64


Attachments: PNG File image-2022-11-10-16-49-35-569.png     PNG File image-2022-11-10-16-51-40-905.png     PNG File image-2022-11-10-16-54-53-644.png     PNG File image-2022-11-12-02-47-03-098.png     PNG File image-2022-11-12-02-50-12-237.png    
Issue Links:
Causes
Duplicate
is duplicated by ZBX-19409 net.tcp.port in zabbix agent2 sending... Closed
Team: Team B
Sprint: Support backlog
Story Points: 0.3

 Description   

Steps to reproduce:

  1. A "net.tcp.port[183.3.224.149,443]" monitoring item is configured in the host.
  2. If IP address 183.3.224.149 is unreachable from the network, the agent cannot obtain data and the agent.ping alarm is triggered.However, using zabbix_get agent is available to obtain the value of other monitor items.
  3. zabbix client version

Result:

cat /var/log/zabbix/zabbix_proxy.log 
 50618:20221108:004304.928 Zabbix agent item "net.tcp.port[183.3.224.149,443]" on host "11.99.2.30" failed: first network error, wait for 15 seconds
 50633:20221108:010454.893 resuming Zabbix agent checks on host "11.99.2.30": connection restored
 50633:20221108:010524.896 Zabbix agent item "net.tcp.port[183.3.224.149,443]" on host "11.99.2.30" failed: first network error, wait for 15 seconds
 50633:20221108:011454.939 resuming Zabbix agent checks on host "11.99.2.30": connection restored
 50630:20221108:012625.828 Zabbix agent item "net.tcp.port[183.3.224.149,443]" on host "11.99.2.30" failed: first network error, wait for 15 seconds
 50630:20221108:014655.946 resuming Zabbix agent checks on host "11.99.2.30": connection restored

Expected:

 

 



 Comments   
Comment by Edgar Akhmetshin [ 2022 Nov 11 ]

Hello Lijiyun,

Thank you for reporting the issue.

Using Agent: 0 or 1 returned by net.tcp.port without issues.
Using Agent 2: if port or host is not reachable check is failing like described.

Confirmed.

Regards,
Edgar

Comment by lijiyun [ 2022 Nov 11 ]
  • This problem is not limited to the net.tcp.port monitor item.
  • I think agent 2 with a "failed: first network error" error would cause this problem. Because I found a similar problem with another windows host.
  •  

Comment by Michael Veksler [ 2022 Dec 12 ]

Available in:

Generated at Wed Dec 31 05:08:25 EET 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.