Powershell Userparameter ZBX_NOTSUPPORTED

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.2.2
    • Component/s: Agent (G)
    • None
    • Environment:
      Zabbix Server running on a Debian 7 64bit
      Zabbix Agent running on a Windows Server 2008 R2

      I have created a UserParameter:

      {script}
      UserParameter=veeam.test[*],powershell.exe -File C:\Scripts\Test.ps1 "$1"{script}

      The Powershell Script is:

      {script}
      param(
      [string]$JobName
      )
      $JobName{script}

      When I run: zabbix_agentd.exe --test veeam.test["1"]
      I get the following result: veeam.test[1] [m|ZBX_NOTSUPPORTED]

      What causes this problem ?

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

              Created:
              Updated:
              Resolved: