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

Zabbix Agent v6- system.sw.packages item no longer showing data with regex

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.24
    • Agent (G), Packages (C)

      Agent 6.0.24 doesn't work with system.sw.packages[<regex>]
      Test with 6.0.0:

      localhost:/home/bmi # zabbix_get -s 127.0.0.1 -k  agent.variant
      1
      localhost:/home/bmi # zabbix_get -s 127.0.0.1 -k  agent.version
      6.0.0
      localhost:/home/bmi # zabbix_get -s 127.0.0.1 -k  system.sw.packages[ya]
      [rpm] autoyast2-installation-4.3.104-150300.3.52.1.noarch, libyajl2-2.1.0-150000.4.3.1.x86_64, libyaml-0-2-0.1.7-1.17.x86_64, libyaml-cpp0_6-0.6.1-4.5.1.x86_64, patterns-yast-x11_yast-20201210-1.25.x86_64, patterns-yast-yast2_basis-20201210-1.25.x86_64, yast2-4.3.69-150300.3.20.1.x86_64, yast2-add-on-4.3.10-150300.3.8.1.noarch, yast2-apparmor-4.3.2-3.3.1.noarch, yast2-bootloader-4.3.32-150300.3.11.1.x86_64, yast2-control-center-4.3.0-1.76.x86_64, yast2-control-center-qt-4.3.0-1.76.x86_64, yast2-core-4.3.3-1.44.x86_64, yast2-country-4.3.19-150300.3.14.1.x86_64, yast2-country-data-4.3.19-150300.3.14.1.x86_64, yast2-firewall-4.3.11-1.1.noarch, yast2-hardware-detection-4.1.2-1.1.x86_64, yast2-installation-4.3.55-150300.3.34.2.noarch, yast2-kdump-4.3.4-1.4.x86_64, yast2-ldap-4.1.0-1.28.x86_64, yast2-logs-4.3.69-150300.3.20.1.x86_64, yast2-migration-4.2.5-3.3.1.noarch, yast2-network-4.3.86-150300.3.35.1.noarch, yast2-ntp-client-4.3.3-3.3.1.noarch, yast2-online-update-4.2.2-1.176.noarch, yast2-online-update-frontend-4.2.2-1.176.noarch, yast2-packager-4.3.26-150300.3.11.1.x86_64, yast2-pam-4.3.4-1.3.noarch, yast2-perl-bindings-4.3.0-1.71.x86_64, yast2-pkg-bindings-4.3.11-1.1.x86_64, yast2-proxy-4.3.3-3.5.1.noarch, yast2-registration-4.3.26-150300.3.12.2.noarch, yast2-ruby-bindings-4.3.14-1.1.x86_64, yast2-security-4.3.17-3.3.1.noarch, yast2-services-manager-4.3.6-1.3.noarch, yast2-slp-4.1.1-1.143.x86_64, yast2-snapper-4.2.0-1.152.x86_64, yast2-storage-ng-4.3.60-150300.3.21.1.x86_64, yast2-support-4.3.0-1.99.noarch, yast2-theme-4.3.11-3.6.1.noarch, yast2-trans-stats-2.19.0-1.28.noarch, yast2-transfer-4.1.0-1.28.x86_64, yast2-update-4.3.4-150300.3.6.1.x86_64, yast2-users-4.3.14-3.8.1.x86_64, yast2-vm-4.3.1-1.40.x86_64, yast2-x11-4.3.0-1.1.x86_64, yast2-xml-4.1.1-1.33.x86_64, yast2-ycp-ui-bindings-4.3.9-1.2.x86_64
       

      Test with 6.0.24:

      localhost:/home/bmi # zabbix_get -s 127.0.0.1 -k  agent.version
      6.0.24
      localhost:/home/bmi # zabbix_get -s 127.0.0.1 -k  agent.variant
      1
      localhost:/home/bmi # zabbix_get -s 127.0.0.1 -k  system.sw.packages[ya]
      [rpm]
      localhost:/home/bmi #
       

      OS version:

      localhost:/home/bmi # cat /etc/os-release
      NAME="SLES"
      VERSION="15-SP3"
      VERSION_ID="15.3"
      PRETTY_NAME="SUSE Linux Enterprise Server 15 SP3"
      ID="sles"
      ID_LIKE="suse"
      ANSI_COLOR="0;32"
      CPE_NAME="cpe:/o:suse:sles:15:sp3"
      DOCUMENTATION_URL="https://documentation.suse.com/"
       

            jlambda Juris Lambda
            bmickiewicz Bartosz Mickiewicz
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: