Please add appinfo plugin

Bug #1869074 reported by Oliver Kurth
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
open-vm-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is also reported at Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954958

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

Tags: server-next
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in open-vm-tools (Ubuntu):
status: New → Confirmed
tags: added: server-next
Changed in open-vm-tools (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is resolved in Ubuntu 20.10 Groovy by version 2:11.0.5-5 that just migrated.

Changed in open-vm-tools (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.