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

short package listing contains a leading space

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.4rc1, 2.1.0
    • Agent (G)

    Description

      full package info contains package manager in square brackets, followed by space separated package list.
      [rpm] package1 package2

      specifying 'short' as the 3rd parameter omits the package manager type, but does not remove the extra leading space :

      $ echo "a$(zabbix_get -s 127.0.0.1 -k system.sw.packages[php.*xml,,short])a"
      a php5-xmlreader-5.3.8-4.24.1.i586, php5-xmlwriter-5.3.8-4.24.1.i586a

      Attachments

        Activity

          People

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: