Integration with slack, SEVERITY_COLOR and RESOLVE_COLOR is not working

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • 5.0.13
    • Affects Version/s: 5.0.13
    • Component/s: Frontend (F)
    • None

      Tested on 5.0.13

      No styles is being applied.

      You can modify the javascript for each functions, hardcoding the SEVIRTY_COLORS, but this is not expected.

       

      createMessage(
      SEVERITY_COLORS[params.event_nseverity] || 0,
      params.event_date,
      params.event_time,
      createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)
      )

        1. slack_javascript.txt
          12 kB
          Victor
        2. alert.JPG
          20 kB
          Victor

            Assignee:
            Aigars Kadikis
            Reporter:
            Victor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: