Cannot exec AlertScript

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 1.8.11
    • Component/s: Server (S)
    • None

      In my environment, zabbix receives a Windows Event Log by "eventlog" item, and it is performing AlertScript as a trigger.

      I found that when the Windows Event Log exceeding 2048 characters was received, AlertScript could not be performed.

      It was outputted to zabbix_server.log as follows.

      sh: -c: line 0: unexpected EOF while looking for matching `"'
      sh: -c: line 8: syntax error: unexpected end of file

      I changed the value of MAX_STRING_LEN in common.h into 4096 and tested it.
      Then, AlertScript has been performed correctly.

      I regarded this as the same problem as ZBX-1298, but 1.8.11 was not solved.

      Are there any other workarounds?

            Assignee:
            Unassigned
            Reporter:
            suzuka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: