Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11823

vfs.file.regmatch does not work as intended

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 3.2.3
    • Agent (G)
    • 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.

            Unassigned Unassigned
            Chuck Chuck Gentry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: