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

Cannot exec AlertScript

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.8.11
    • 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?

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

              Created:
              Updated:
              Resolved: