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

Zabbix Agent Configuration -- Alias not allowed range

    XMLWordPrintable

Details

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

    Description

      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 ?

       

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: