[ZBX-23711] integrated with GLPI Created: 2023 Nov 15 Updated: 2024 Jan 29 Resolved: 2023 Nov 20 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Templates (T) |
| Affects Version/s: | 6.4.8 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | Nguyễn Hoàng | Assignee: | Zabbix Support Team |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
ubuntu 22.04 |
||
| Attachments: |
|
| Description |
|
Steps to reproduce:
Result: 00:00:00.030 [Debug] [ GLPi Webhook ] Sending request: http://192.168.124.163/apirest.php/Problem/ {"input":{"name":" {ALERT.SUBJECT}","content":"{ALERT.MESSAGE}\n<a href=http://192.168.124.170/zabbix/>Link to problem in Zabbix</a>","status":1,"urgency":"{EVENT.NSEVERITY}"}}00:00:00.046 [Debug] [ GLPi Webhook ] Received response with status code 20000:00:00.046 [Debug] [ GLPi Webhook ] Failed to parse response received from GLPi00:00:00.046 [Debug] [ GLPi Webhook ] ERROR: Failed to process response received from GLPi. Check debug log for more information.
Does anyone know how to fix it? Best regards, |
| Comments |
| Comment by Edgar Akhmetshin [ 2023 Nov 16 ] |
|
During test you need to supply values configured with internal/user macro. Otherwise you can get error from the API endpoint of the GLPI. What version of GLPI is used? And try to test with real values. |
| Comment by Ana Cordeiro [ 2024 Jan 26 ] |
|
Hello, I have the same problem. You solved the problem? How? |
| Comment by Nguyễn Hoàng [ 2024 Jan 29 ] |
|
Hi Ana,
Don't run the test template, ignore it. Just configure it, and then u can try the demo function with a real case, for example: disconnecting zabbix agent GLPI will create a problem for you With me, when I run test it's failed, but when I test with real case, it's work Hope it can help you |