-
Problem report
-
Resolution: Fixed
-
Major
-
6.4.1
-
None
-
Debian Buster 10 (4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux)
Ubuntu Focal 20.04 (5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux)
-
Product delivery backlog
-
1
On some linux servers system.sw.packages.get is unsupported with error "[Sw] Failed to parse 'dpkg --get-selections' output, err: strconv.ParseUint: parsing "": invalid syntax"
Steps to reproduce:
- Login via ssh to linux server
- Switch to root
- Execute "zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf -t system.sw.packages.get -v"
Result:
See log files ubuntu_system_sw_packages_get.log / debian_system_sw_packages_get.log
Output of "dpkg --get-selections" and "LC_ALL=C dpkg-query -W -f='${Status},${Package},${Version},${Architecture},${Installed-Size}\n'", from sw module (sw_linux.go) in attachments.
Item also not supported in monitoring via latest linux os template.
However, item system.sw.packages is working fine.
Expected:
The item is supported and work fine.
- caused by
-
ZBXNEXT-7569 Allow to use system.sw.packages on gentoo linux
- Closed