Hello,
I have been trying to check if a specific String exists in a File using the vfs.file.regmatch function.
This is how the key of ITEM looks:
vfs.file.regmatch[/etc/zabbix/text,java]
with "java" being the Regular expression.
This function is supposed to return 0 or 1, but does not do any thing.
Even the logs are empty.
I tried changing the fucntion to vfs.file.exists, but the same result.
Any ideas?
P.S. The user 'zabbix' has read write access to this folder.
I have been trying to check if a specific String exists in a File using the vfs.file.regmatch function.
This is how the key of ITEM looks:
vfs.file.regmatch[/etc/zabbix/text,java]
with "java" being the Regular expression.
This function is supposed to return 0 or 1, but does not do any thing.
Even the logs are empty.
I tried changing the fucntion to vfs.file.exists, but the same result.
Any ideas?
P.S. The user 'zabbix' has read write access to this folder.
Comment