ZABBIX BUGS AND ISSUES

short package listing contains a leading space

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.4rc1, 2.1.0
  • Component/s: Agent (G)
  • Labels:
  • Zabbix ID:
    RTF

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

Activity

Hide
Andris Mednis added a comment -

Fixed together with ZBX-5571 in development branch svn://svn.zabbix.com/branches/dev/ZBX-5571

Show
Andris Mednis added a comment - Fixed together with ZBX-5571 in development branch svn://svn.zabbix.com/branches/dev/ZBX-5571
Hide
Alexander Vladishev added a comment -

Successfully tested!

Show
Alexander Vladishev added a comment - Successfully tested!
Hide
Andris Mednis added a comment -

Fixed in versions pre-2.0.4 rev. 30625 and pre-2.1.0 rev. 30626.

Show
Andris Mednis added a comment - Fixed in versions pre-2.0.4 rev. 30625 and pre-2.1.0 rev. 30626.

People

  • Assignee:
    Unassigned
    Reporter:
    richlv
Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: