[ZBX-24142] Problem sending events using Media Type Event-Driven Created: 2024 Feb 23 Updated: 2024 Mar 04 Resolved: 2024 Mar 04 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Angelo Gagliardi | Assignee: | Edgar Akhmetshin |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Description |
Hi, We followed this tutorial Video from Zabbix Youtube Channel and we followed every steps. But when the trigger action start, we get an error "Can not get URL. Could not contact the server" We tried from zabbix server to send curl manually and it works, we saw the data on Event-Driven controller.
I send you here our configuration:
Can you please tell me how to fix this issue ? Thank you so much in Advance.
Have a nice day ! |
Comments |
Comment by Edgar Akhmetshin [ 2024 Feb 26 ] |
Hello Angelo, Could you please check first from Zabbix Server if Ansible endpoint is reachable: nc -vz 10.200.22 5001 Also confirm what version of Ansible you are using? Is it Ansible Automation Platform from RHEL (commercial) or AWX community version? Regards, |
Comment by Angelo Gagliardi [ 2024 Feb 26 ] |
Hi Edgar, We are Using Ansible Automation Platform from RHEL:
|
Comment by Edgar Akhmetshin [ 2024 Feb 26 ] |
What Zabbix version is used? We are not able to reproduce with Zabbix 6.4. Webhook contains debug log definition inside, by default it's for level 4, could you please modify for all occurrence:
Zabbix.log(4, # to Zabbix.log(3,
|
Comment by Angelo Gagliardi [ 2024 Feb 26 ] |
Hi Edgar, This is our version of zabbix: Can you please tell me how to modify the verbosity level? Thanks in advance. |
Comment by Edgar Akhmetshin [ 2024 Feb 28 ] |
Under the Media type settings: The code itself: Here is a modified version: Zabbix Server log file will contain lines related to: '[ Event-Driven Ansible webhook ]' keyword. |
Comment by Angelo Gagliardi [ 2024 Feb 28 ] |
Hi Edgar,
We solved the problem without modifying anything on the configuration, we just upgrade to the pre-release version 7. Now it's working. I think that will be better to set a pre-requisite on the EDA guide if this version is needed to use EDA plugin. Thanks. Have a nice day ! |
Comment by Edgar Akhmetshin [ 2024 Mar 04 ] |
Hello Angelo, Hm, that's quite strange, looks like you have fixed something else during upgrade, since 6.4 also works in our test environment without issues. Regards, |