Package: open-vm-tools Version: 2:11.0.5-4 We have added a plugin in open-vm-tools. It did not make part of the 11.0.5 release, but has been tested by us. It's part of the Wndows version, and will be part of our next release.
For open-vm-tools, all changes are in this branch (forked directly from the 11.0.5 release): https://github.com/vmware/open-vm-tools/tree/stable-11.0.5-appinfo . Here is a description for the plugin: https://www.virtuallyghetto.com/2019/12/application-discovery-in-vsphere-with-vmware-tools-11.html , or see https://docs.vmware.com/en/VMware-Tools/11.0.0/com.vmware.vsphere.vmwaretools.doc/GUID-3A8089F6-CAF6-43B9-BD9D-B1081F8D64E2.html . Following are implemented in this changeset: * New plugin named appInfo is added to VMware Tools. It will be installed by default in Linux guests. * This is a 'vmsvc' only plugin. It will be loaded only by vmsvc process. The plugin will have the system-level privileges since it's loaded by vmsvc service. * When loaded, every 30 minutes (can be configured by a switch in tools.conf file), the plugin gets the list of processes running inside the guest and publishes them into a guest variable (guestinfo.appinfo). The content will be printed in JSON format for easy parsing. * The plugin is enabled by default. If the guest administrator sets the key/value 'disabled=true' in 'appinfo' section in tools.conf file, then the plugin is disabled and doesn't publish any information. Ex: # In tools.conf file [appinfo] disabled=true # via toolbox utility. vmware-toolbox-cmd config set appinfo disabled true * The poll-interval can be adjusted by the guest administrator by tweaking the poll-interval key under appinfo section in tools.conf file or by calling vmware-toolbox-cmd utility. Ex: # In tools.conf file [appinfo] poll-interval = 3600 # The value should be specified in seconds. vmware-toolbox-cmd config set appinfo poll-interval 3600 * From inside the guest, the following commands can be executed to retrieve the JSON information published to the guest variable. vmtoolsd --cmd “info-get guestinfo.appInfo” vmware-rpctool “info-get guestinfo.appInfo” Thanks, Oliver