List installed yum packages on client servers

Tags: #<Tag:0x00007f3b8109e840> #<Tag:0x00007f3b8109e638> #<Tag:0x00007f3b8109e408> #<Tag:0x00007f3b8109e020>

There are OID’s on CentOS to list installed packages, I wonder if we can can gather these in a tab. For example under Inventory having a yum tab

snmpwalk hostname HOST-RESOURCES-MIB::hrSWInstalledName | grep -i kern
.1.3.6.1.2.1.25.6.3.1.2.128 = STRING: "kernel-tools-libs-3.10.0-1062.18.1.el7"
.1.3.6.1.2.1.25.6.3.1.2.193 = STRING: "kernel-3.10.0-957.12.2.el7"
.1.3.6.1.2.1.25.6.3.1.2.240 = STRING: "kernel-3.10.0-957.21.3.el7"
.1.3.6.1.2.1.25.6.3.1.2.260 = STRING: "kernel-tools-3.10.0-1062.18.1.el7"
.1.3.6.1.2.1.25.6.3.1.2.262 = STRING: "kernel-headers-3.10.0-1062.18.1.el7"
.1.3.6.1.2.1.25.6.3.1.2.291 = STRING: "kernel-3.10.0-1062.12.1.el7"
.1.3.6.1.2.1.25.6.3.1.2.442 = STRING: "kernel-3.10.0-957.el7"
.1.3.6.1.2.1.25.6.3.1.2.605 = STRING: "kernel-3.10.0-1062.18.1.el7"
1 Like