As I was not able to use a UserParameter tag with[*] in Zabbix Win32 agent, I made some changes in the source code in order to support it. So with this version, you can define a line like
UserParameter=Disk.FragLevel[*],c:\windows\system32\defrag.exe -a $1
in you Win32 agent, and define an item with Disk.FragLevel[c:] in your zabbix server.
Source file and compiled files are attached
UserParameter=Disk.FragLevel[*],c:\windows\system32\defrag.exe -a $1
in you Win32 agent, and define an item with Disk.FragLevel[c:] in your zabbix server.
Source file and compiled files are attached
Comment