-
Incident report
-
Resolution: Won't fix
-
Minor
-
None
-
3.2.3
-
None
vfs.file.regmatch doesn't work as expected from using Zabbix Agent or Zabbix Agent (Active)
Running the following to a remote server from a zabbix server works perfectly:
zabbix_get -s REMOTE-SERVER -p 10050 -k vfs.file.regmatch[/etc/ssh/sshd_config,'^PasswordAuthentication no']
It returns 1 if the line matches which is the expected behaviour.
https://www.zabbix.com/documentation/3.2/manual/config/items/itemtypes/zabbix_agent
However, creating an item in Zabbix with the same EXACT command always returns 0.