I wonder what's wrong with my config. i did try to put this in my config:
userparameter=vfs.directory.files_count[*], cscript //nologo <then the path to the js file> $1
then restart zabbix agent and try to test it through command line with:
zabbix_agentd -t vfs.directory.files_count
results to:
vfs.directory.files_count [m|ZBX_NOTSUPPORTED]
i even tried this:
zabbix_get -s [IP of my client] -k vfs.directory.files_count
results to:
ZBX_NOTSUPPORTED
i have tried it also in the browser version but still not supported
the js file is inside /zabbix/scripts/
userparameter=vfs.directory.files_count[*], cscript //nologo <then the path to the js file> $1
then restart zabbix agent and try to test it through command line with:
zabbix_agentd -t vfs.directory.files_count
results to:
vfs.directory.files_count [m|ZBX_NOTSUPPORTED]
i even tried this:
zabbix_get -s [IP of my client] -k vfs.directory.files_count
results to:
ZBX_NOTSUPPORTED
i have tried it also in the browser version but still not supported

the js file is inside /zabbix/scripts/