[ZBX-5559] short package listing contains a leading space Created: 2012 Sep 09 Updated: 2017 May 30 Resolved: 2012 Sep 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | 2.0.4rc1, 2.1.0 |
Type: | Incident report | Priority: | Trivial |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
full package info contains package manager in square brackets, followed by space separated package list. 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" |
Comments |
Comment by Andris Mednis [ 2012 Sep 13 ] |
Fixed together with |
Comment by Alexander Vladishev [ 2012 Sep 17 ] |
Successfully tested! |
Comment by Andris Mednis [ 2012 Oct 04 ] |
Fixed in versions pre-2.0.4 rev. 30625 and pre-2.1.0 rev. 30626. |