Hello,
I want to create like a software inventory, with installed packages on each host. The only issue is that a held package
won't show up in
for some reason. See below:
Is this by design, is it documented?
Thank you!
I want to create like a software inventory, with installed packages on each host. The only issue is that a held package
Code:
apt-mark hold <package>
Code:
system.sw.packages.get
Code:
# apt-mark showhold
openvpn
# zabbix_agent2 -t 'system.sw.packages.get["^openvpn$"]'
system.sw.packages.get["^openvpn$"] [s|[]]
# apt-mark unhold openvpn
zabbix_agent2 -t 'system.sw.packages.get["^openvpn$"]'
system.sw.packages.get["^openvpn$"] [s|[{"name":"openvpn","manager":"dpkg","version":"2.7.7-noble1","size":1882112,"arch":"amd64","buildtime":{"timestamp":0,"value":""},"installtime":{"timestamp":0,"value":""}}]]
Thank you!