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

UserParameterDir defined - crashes all userparameters on Windows

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 5.4.10
    • None
    • Agent (G)
    • None
    • Windows Server 2022

    Description

      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

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            igorbach Igor Gorbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: