Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26369

Error in OTRS CE out-of-the-box media type

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.12
    • Templates (T)
    • None
    • Zabbix 7.0.12, ubuntu24, php8.3, nginx 1.24, PgSQL17
    • Support backlog

      Hello,

      I found that out-of-the-box webhook/mediatype for OTRS CE does not work without a need to edit script,

      When everything is done according to:
      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/otrs_ce?at=release/7.0

      Integration fails, and this error can be found in Zabbix Log (alerters set to level 4 of debug):

      [ ((OTRS)) CE Webhook ] Response has been received: {"Error":{"ErrorMessage":"TicketCreate: Ticket->TypeID or Ticket->Type parameter is required by sysconfig option!","ErrorCode":"TicketCreate.MissingParameter"}}
      

      I got this error on clear instance of Zabbix 7.0.12,
      To solve this i needed to add another parameter "otrs_ticket_type" (and edit script of mediatype), after adding this parameter integration started to work, so operation was also done on OTRS side:

      [ ((OTRS)) CE Webhook ] Response has been received: {"TicketID":"102","TicketNumber":"611","ArticleID":346}
      

      BR,

      Tomasz

            zit Zabbix Integration Team
            tgrzechulski Tomasz Grzechulski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: