Ad Widget

Collapse

Redmine-Zabbix Webhook no customfields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • herczeg.peter
    Junior Member
    • Feb 2023
    • 1

    #1

    Redmine-Zabbix Webhook no customfields

    Hi,

    I am just trying to setup a webhook for Redmine, to let Zabbix create issues for triggers.
    I have configured the Media type, set up the parameters (following this guide: https://git.zabbix.com/projects/ZBX/...Frelease%2F5.0)

    The Media Test works (issue created with proper tracker id, in the project according to parameters)

    But I am unable to figure out how to pass the event values to issue custom fields. I have used the parameter formats and data types given in the guide, but no result. Issue created, but custom fields are empty.

    I have imported the script from the guide (media_redmine.xml)

    here is my Webhook config: (custom_field IDs matched with Redmine custom fields with the proper formats)

    ​

    I have generated a Problem to fire a trigger for webhook (to exclude Media type test field limitations)
    ​
    It is visible, that custom fields (EventID, Event Link, etc.) not filled.

    Redmine log seems like there is no attempt at all from Zabbix to push custom field values when creating issue:

    239608: Parameters: {"issue"=>{"project_id"=>"6", "tracker_id"=>"5", "subject"=>"Problem: High memory utilization (>60% for 5m)", "description"=>"Problem started at 12:41:17 on 2023.02.23\r\nProblem name: High memory utilization (>60% for 5m)\r\nHost: Promint VPS\r\nSeverity: Average\r\nOperational data: 72.08 %\r\nOriginal problem ID: 383\r\n"}}
    ​


    what could be the problem?

    My Zabbix is 5.0.31, Redmine is 4.1.1

    Thanks in advance,
    Peter​
    ​
Working...