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

Powershell Userparameter ZBX_NOTSUPPORTED

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.2.2
    • Agent (G)
    • None
    • 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 ?

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

              Created:
              Updated:
              Resolved: