Empty data is stored when using Zabbix agent2 and SQLite.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Agent (G)
    • None
    • Environment:
      zabbix_agent2 5.0.31

      • Item key
        logrt[/tmp/^syslog$,err,,,skip,,,]
        
      • Zabbix server stopped after Zabbix agent2 updated configuration.
        # systemctl stop zabbix-server
        
      • Output log
        cat <<EOS >> /tmp/syslog
        test_1 <daemon.info> messages....
        test_2 <daemon.err> messages....
        EOS
        
      • Check DB
        sqlite> select * from log_1;
        230|1675834414|34114|64482|1675834405|-1|test_2 <daemon.err> messages....||-1|-1|-1|1675834414|1760185
        231|1675834414|34114|64516|1675834405|-1|||-1|-1|-1|1675834414|1774023
        

      This problem occurs when the log key is set to a regular expression.

            Assignee:
            Zabbix Development Team
            Reporter:
            Hayato Watanabe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: