SIGNL4 Media Type: Error in JSON Payload

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.23, 6.0.24, 6.0.25rc1, 6.4.8, 6.4.9, 6.4.10rc1, 7.0.0alpha7
    • Component/s: Templates (T)
    • Environment:
      All platforms.

      Steps to reproduce:

      1. Send test alert using the SIGNL4 media type
      2. The JSON payload is not correct

      Result:

      Right now there is no issue because SIGNL4 can cope with the wrong format.

      I recommend fixing it to use the correct format to make sure future versions will still work.

      Expected:
      The fix applies to this file:

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/signl4/media_signl4.yaml

      Line 114 should be changed from:

      response = request.post(endpoint, 'payload=' + payload);

      to:

      response = request.post(endpoint, payload);

      Attached please find the complete adapted file.

       

            Assignee:
            Zabbix Integration Team
            Reporter:
            Ronald Czachara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: