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

Alias example does not work

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0 (plan)
    • None
    • Documentation (D)
    • None
    • Sprint 25
    • 0.25

      I get error when using example from:
      https://www.zabbix.com/documentation/3.4/manual/appendix/config/zabbix_agentd

      zabbix_agentd [4190]: ERROR: cannot add alias "zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]": invalid character at position 59
      

      Parameter - unquoted string

      If the key parameter is an unquoted string, any Unicode character is allowed except comma and right square bracket (]).

      But example is:

      vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]
      

      Must be:

      Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,"^zabbix:.:([0-9]+)",,,,\1]
      

            martins-v Martins Valkovskis
            vso Vladislavs Sokurenko
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: