system.sw.packages.get ignores held packages (dpkg)

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.1
    • Component/s: Agent (G)
    • None

      1. Steps to reproduce:

      unheld package listed as expected:

       

      # zabbix_get -s myhost -k system.sw.packages.get[nano,dpkg]
      [{"name":"nano","manager":"dpkg","version":"3.2-3+deb10u1","size":2269184,"arch":"amd64","buildtime":{"timestamp":0,"value":""},"installtime":{"timestamp":0,"value":""}}] 

      put it on hold:

      # apt-mark hold nano
      nano set on hold. 

      it isn't listed anymore:

      # zabbix_get -s myhost -k system.sw.packages.get[nano,dpkg]
      [] 

       

       

      Expected:
      All installed packages should be listed regardless of their hold status

            Assignee:
            Zabbix Development Team
            Reporter:
            Roni Väyrynen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: