This section provides return value details for the system.sw.packages.get
Zabbix agent item.
The output of this item is an array of objects each containing the following keys:
rpm
, dpkg
, pacman
, pkgtool
, or portage
)Example:
[
{
"name": "util-linux-core",
"manager": "rpm",
"version": "2.37.4-3.el9",
"size": 1296335,
"arch": "x86_64",
"buildtime": {
"timestamp" : 1653552239,
"value" : "Sep 20 01:39:40 2021 UTC"
},
"installtime": {
"timestamp" : 1660780885,
"value" : "Aug 18 00:01:25 2022 UTC"
}
},
{
"name": "xfonts-base",
"manager": "dpkg",
"version": "1:1.0.5",
"size": 7337984,
"arch": "all",
"buildtime": {
"timestamp": 0,
"value": ""
},
"installtime": {
"timestamp": 0,
"value": ""
}
}
]