Feature Suggestion: Official Zabbix Integration as a Pre-configured Media Type #726
wedsonlopes
started this conversation in
Ideas
Replies: 1 comment
-
It would be really nice to see trudesk on that list! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Suggestion: Official Zabbix Integration as a Pre-configured Media Type
Trudesk is a fantastic open-source helpdesk solution, and Zabbix is an industry-standard for IT infrastructure monitoring. A common and highly valuable use case is to automatically open tickets in Trudesk when Zabbix detects a problem.
Currently, integrating Zabbix with Trudesk requires a manual and technical process:
/api/v1/tickets/create
), the authentication method (accessToken
in the header), and the required JSON payload structure.This process, while powerful, creates a significant barrier for less technical users and adds unnecessary complexity to what should be a straightforward setup.
Description of the solution I'd like
My suggestion is for the Trudesk project to create and maintain an official, pre-configured Zabbix Media Type template.
Zabbix has a public repository of official integrations for tools like Slack, PagerDuty, Microsoft Teams, etc. By providing a
media_trudesk.yaml
file, Trudesk would join this ecosystem, dramatically simplifying the integration process.The ideal user experience would be:
media_trudesk.yaml
file from the Trudesk GitHub repository or documentation.Administration > Media Types
and click theImport
button.{$TRUDESK.URL}
,{$TRUDESK.TOKEN}
, and perhaps the default Group/Type IDs.This abstracts all the complexity and turns the integration into a simple "plug-and-play" configuration.
Alternatives I've considered
The current alternative is the manual creation process described above. To demonstrate the viability of this feature, I have developed a fully functional webhook that successfully opens tickets in Trudesk based on Zabbix triggers.
This implementation can serve as a proof-of-concept or a starting point for the official version.
Additional context
Here is the functional example of the implementation, which can be used as a base for the official template.
1. Required Parameters (Zabbix Macros):
trudesk_token
{$TRUDESK.TOKEN}
(Recommended to create as a vault macro!)trudesk_group_id
YOUR_GROUP_ID_HERE
(User would fill this in)trudesk_type_id
YOUR_TYPE_ID_HERE
trudesk_priority_id
YOUR_PRIORITY_ID_HERE
trudesk_owner_id
YOUR_OWNER_ID_HERE
zabbix_subject
Problem: {EVENT.NAME}
zabbix_issue
Host: {HOST.NAME}\nSeverity: {EVENT.SEVERITY}\n\nProblem Details:\n{EVENT.DETAILS}
zabbix_event_id
{EVENT.ID}
2. Example of JavaScript Code:
Potential improvements for an official version:
Benefits of this Feature:
Thank you for considering this suggestion. I believe this feature would add immense value to the Trudesk ecosystem and would be happy to provide further details or assist with testing.
Beta Was this translation helpful? Give feedback.
All reactions