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

UserParameterDir defined - crashes all userparameters on Windows

XMLWordPrintable

    • Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023)
    • 0.25

      Steps to reproduce:
      1. Install Zabbix agent 2 on Windows system
      2. Define some user parameters

      UserParameter=test,C:\zbx\test.bat # test.bat contains "echo 1"
      UserParameter=test1,echo 1

      All fine
      3. Define UserParameterDir and new UserParameter

      UserParameterDir=C:\zbx
      UserParameter=test2,.\test.bat

      Result:

      ZBX_NOTSUPPORTED: Cannot execute command: exec: "C:\\zbx\\cmd.exe": file does not exist

      when you trying to run any user parameter
      Expected:
      All should work fine. No issues on Zabbix Agent (C) 5.4.10

        1. zabbix_agent2.exe.7z.001
          10.00 MB
          Michael Veksler
        2. zabbix_agent2.exe.7z.002
          1.54 MB
          Michael Veksler
        3. zabbix_agent2-v60-x64_debug.7z
          5.79 MB
          Aleksejs Sestakovs
        4. zabbix_agent2-v60-x64.7z
          10.30 MB
          Michael Veksler

            MVekslers Michael Veksler
            igorbach Igor Gorbach
            Team B
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: