[ZBX-19846] Error during script execution in the action Created: 2021 Aug 23 Updated: 2023 Mar 01 Resolved: 2023 Mar 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 5.4.2 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Aliaksei Halouka | Assignee: | Zabbix Development Team |
Resolution: | Won't fix | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
Description |
Steps to reproduce: The problem appeared in version 5.4 and higher, if the trigger condition refers to several hosts, and in action for the script, the current host is selected to execute the script, the action is completed with the error - Too many hosts in a trigger expression.
Result: |
Comments |
Comment by Tomáš Heřmánek [ 2023 Feb 20 ] |
Hi, we have simmiliar problem, when we have manual event action with webhook it also not work, when you have 2 hosts in trigger expression. In webhook we don't have any hosts setting.
Zabbix version is 6.0.12.
Tom |
Comment by dimir [ 2023 Feb 21 ] |
Was this caused by andris: I think - yes, by design. It was not clear what is "current host" when trigger expression mentions several hosts. |
Comment by Alexander Vladishev [ 2023 Mar 01 ] |
This feature is not working if the trigger condition refers to several hosts. See documentation.
|