Zabbix agent 2 and powershell error on Windows 2019 exchange server

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.16
    • Component/s: Agent2 plugin (G)
    • None
    • Environment:
      Windows 2019
    • Support backlog

      Steps to reproduce:

      1. Install Zabbix agent 2 6.0.16 on a Windows 2019 Exchange server

      Result:
      zabbix_get -s exchangesrv -k system.run["powershell.exe -NoProfile -ExecutionPolicy Bypass -NonInteractive hostname"]
      ZBX_NOTSUPPORTED: Cannot execute command: exec: "cmd": cannot run executable found relative to current directory

      Expected:
      zabbix_get -s <EXCHANGESRV> -k system.run["powershell.exe -NoProfile -ExecutionPolicy Bypass -NonInteractive hostname"]

      exchangesrv

            Assignee:
            Michael Veksler
            Reporter:
            Philippe Brewée
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: