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

When escalation message is sent via script, message gets separated by CR LF. In 2.2 it was LF.

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Blocker
    • Resolution: Won't fix
    • 2.4.3
    • None
    • Server (S)

    Description

      When action's Default message and Recovery message is edited in the front-end, browser both on Linux and Windows separates the lines in the message by CR LF and so it's saved in actions table.

      In 2.2, when escalation was performed and message was prepared to be sent by script, CR got lost and only LF got into the script.
      This was happening in escalator.c:670 - message variable passed to zbx_db_insert_add_values has CR LF, but somewhere later CR gets lost and the resulting SQL query for adding record into alerts has LF only.

      But in 2.4 this suddenly changed and CR started to pass into alerts table and into messaging scripts.

      This is an unpredicted behavior for those who relied on particular line separator in their scripts.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              filipp.sudanov Filipp Sudanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: