Ad Widget

Collapse

How Zabbix get value from powershell?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RoyPeng
    Junior Member
    • Dec 2016
    • 2

    #1

    How Zabbix get value from powershell?

    I used powershell to get some process mem_usage,

    (some reason I can't use proc_info or proc.mem)

    I tried it in command mode and I can get the current number.

    But in zabbix, it can't get the value.

    UserParameter=dtexec.memory,powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\Zabbix\scripts\DTExec_memory_size.ps1

    In item,
    Key = dtexec.memory

    Who could tell me what wrong about me, thanks.
Working...