[ZBX-7612] Zabbix agent not timing out and stopped sending active checks Created: 2014 Jan 06  Updated: 2017 May 30  Resolved: 2014 Jan 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Zied Elouaer Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: activeagent, timeout, userparameters
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

NixOS
Zabbix agent v2.0.4



 Description   

The Zabbix agent stopped sending active checks because it was stuck executing a script defined as a UserParameter, despite the fact that the Timeout parameter was set to 30 seconds.

There was an error in the script causing it to run indefinitely without timing out. My understanding is that the agent is supposed to timeout and exit even if the script itself does not exit.

The problem was solved by just fixing the hanging script. We did not have to restart the agent.

Please let me know what further information you need to investigate the issue.

Thanks,

Zied Elouaer
Operations & IT engineer
www.predictix.com



 Comments   
Comment by Oleksii Zagorskyi [ 2014 Jan 07 ]

The 2.0.4 agent is considered to be as outdated if you faced with some problem.
It could be already fixed in latest version, please test with 2.2.1 agent.

Would be good if you will describe how to reproduce it with a simple script.

Comment by Zied Elouaer [ 2014 Jan 07 ]

Hi Oleksiy and thanks for your response.

I am upgrading the agent to 2.2.1 and will let you know if the issue still happens with it.

As for reproducing the issue, it is happening randomly and I cannot reproduce it every time.

Thank you for your support.

Regards,
Zied ELouaer
Predictix IT Operations

Generated at Fri Apr 26 01:42:21 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.