[ZBX-4094] Don't send "timeout while executing a shell script" as text item return value when UserParameter script timeout happens Created: 2011 Aug 31 Updated: 2017 May 30 Resolved: 2014 Oct 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 1.8.6 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | alix | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 1 |
Labels: | patch, timeout, userparameters | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | common.c.patch common.c.patch.unified | ||||||||||||||||
Issue Links: |
|
Description |
I find it very inconvinient when my text items history is getting spoiled by occasional "timeout while executiong a shell script" values. proper way for agent is to return nothing in case of text item Userparameter script timeout. patch for agent 1.8.6 libs/zbxsysinfo/common/common.c is supplied. |
Comments |
Comment by richlv [ 2011 Sep 09 ] |
heya, could you please add the patch in unified format (diff -u or svn diff) ? thanks |
Comment by alix [ 2011 Sep 09 ] |
sure. one caveat though, there won't be a way of discovering the exact unsupported text items error message in frontend. "Error" column will say just ZBX_NOTSUPPORTED. I guess I'd have to dig deeper somewhere in server sources, but I'm satisfied with this resolution as it is. |
Comment by Alexander Vladishev [ 2014 Oct 03 ] |
Already fixed in 2.3.0 under |