vfs.file.regmatch does not work as intended

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 3.2.3
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: