[ZBX-13607] wrong error message if ping-script exitcode = 1 Created: 2018 Mar 13 Updated: 2024 Apr 10 Resolved: 2018 Apr 11 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Proxy (P), Server (S) |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.9rc1, 4.0.0alpha6, 4.0 (plan) |
| Type: | Incident report | Priority: | Trivial |
| Reporter: | Stefan | Assignee: | Andris Zeila |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | exitcodes, globalscripts | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Team: | |||||||||
| Sprint: | Sprint 30, Sprint 31 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
Steps to reproduce: Result: Expected: |
| Comments |
| Comment by Andrei Gushchin (Inactive) [ 2018 Mar 13 ] |
|
Thanks for the reporting. |
| Comment by Stefan [ 2018 Mar 13 ] |
|
uups, sorry I forgot that:
|
| Comment by Kaspars Mednis [ 2018 Mar 16 ] |
|
Steps to reproduce:
Result as on screenshot (ping command was executed) |
| Comment by Andris Zeila [ 2018 Apr 04 ] |
|
The compromise would be to change ping script to return 0 on timeouts. Something like
ping -c 3 {HOST.CONN}; case $? in [01]) true;; *) false;; esac
Not pretty, but does the job. |
| Comment by Andris Zeila [ 2018 Apr 04 ] |
|
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13607 |
| Comment by Viktors Tjarve [ 2018 Apr 09 ] |
|
Successfully tested. |
| Comment by Andris Zeila [ 2018 Apr 10 ] |
|
Released in:
|