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

Zabbix Agent Configuration -- Alias not allowed range

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 4.0 (plan)
    • Agent (G)

      Hello , 

       

      I`m a user of Zabbix. I found a bug while I was configuring my agent. The "Alias" item is not allowed to use regex range?

       

      Here is my sample :

       

      Zabbix_agent.conf:

       

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

       

      Then I started my agentd , and it reported an issue,

       

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

       

      But after I modified the [0-9] to \d , it works.

       

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

       

      Is that an issue ?

       

       

            vso Vladislavs Sokurenko
            gingu guwenbo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: