OpenVmTools - Commands open-vm-tools

Parsers that parse the output of command open-mv-tools are included in this module:

OpenVmToolsStatRawTextSession - Command vmware-toolbox-cmd stat raw text session

class insights.parsers.open_vm_tools.OpenVmToolsStatRawTextSession(context, extra_bad_lines=None)[source]

Bases: CommandParser, dict

Class to parse the output of command vmware-toolbox-cmd stat raw text session

Sample input:

session = 4004861987670969122
uptime = 1036293956
version = VMware ESXi 6.0.0 build-12345
provider =
uuid.bios = 00 00 00 00 00 00 66 8e-00 00 00 00 51 1e 23 f3

Examples

>>> type(ovmt)
<class 'insights.parsers.open_vm_tools.OpenVmToolsStatRawTextSession'>
>>> ovmt['version'] == 'VMware ESXi 6.0.0 build-12345'
True
parse_content(content)[source]

This method must be implemented by classes based on this class.