<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: vprobes start issue (windows) in VProbes Discussions</title>
    <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424203#M84</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Workstation 12 no longer uses "vmrun" for vprobes control.&amp;nbsp; There should be a separate "vmware-vprobe" program for the purpose.&amp;nbsp; I don't have a Windows installation handy to check, but I'd expect it's just a &lt;STRONG&gt;vmware-vprobe.exe&lt;/STRONG&gt; inside the VMware Workstation folder in Program Files.&amp;nbsp; On a Linux host, there's /usr/bin/vmware-vprobe .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same capabilities should be available through the new vmware-vprobe program, albeit with slightly different command-line syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if that meets your needs!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2017 12:10:27 GMT</pubDate>
    <dc:creator>dariusd</dc:creator>
    <dc:date>2017-05-05T12:10:27Z</dc:date>
    <item>
      <title>vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424202#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goodmorning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using VMware workstation pro 12 on windows 10 and I'm trying to extract some information from the hypervisor with the vprobe script.&lt;/P&gt;&lt;P&gt;I've added the vprobe.allow = "TRUE" on the following files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\ProgramData\VMware\VMware Workstation\config.ini&lt;/P&gt;&lt;P&gt;C:\ProgramData\VMware\VMware Workstation\settings.ini&lt;/P&gt;&lt;P&gt;C:\Users\smais\AppData\Roaming\VMware`config.ini &lt;/P&gt;&lt;P&gt;C:\Users\smais\Documents\Virtual Machines\ubuntu\Ubuntu 64-bit.vmx&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cpnfig.ini is the following file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;installerDefaults.simplifiedUI = "no"&lt;/P&gt;&lt;P&gt;authd.client.port = "902"&lt;/P&gt;&lt;P&gt;authd.proxy.nfc = "vmware-hostd:ha-nfc"&lt;/P&gt;&lt;P&gt;installerDefaults.autoSoftwareUpdateEnabled = "yes"&lt;/P&gt;&lt;P&gt;installerDefaults.autoSoftwareUpdateEnabled.epoch = "14622"&lt;/P&gt;&lt;P&gt;installerDefaults.componentDownloadEnabled = "yes"&lt;/P&gt;&lt;P&gt;installerDefaults.dataCollectionEnabled = "yes"&lt;/P&gt;&lt;P&gt;installerDefaults.dataCollectionEnabled.epoch = "14622"&lt;/P&gt;&lt;P&gt;vprobe.allow = "TRUE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run vmrun with some vprobe command (vprobeListProbes, vprobeLoad, ect) I have the same result every time: Error: Unrecognized command&lt;/P&gt;&lt;P&gt;vmrun is working because I can manage the vm without problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;What can I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 11:41:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424202#M83</guid>
      <dc:creator>stemasmais</dc:creator>
      <dc:date>2017-05-05T11:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424203#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Workstation 12 no longer uses "vmrun" for vprobes control.&amp;nbsp; There should be a separate "vmware-vprobe" program for the purpose.&amp;nbsp; I don't have a Windows installation handy to check, but I'd expect it's just a &lt;STRONG&gt;vmware-vprobe.exe&lt;/STRONG&gt; inside the VMware Workstation folder in Program Files.&amp;nbsp; On a Linux host, there's /usr/bin/vmware-vprobe .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same capabilities should be available through the new vmware-vprobe program, albeit with slightly different command-line syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if that meets your needs!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 12:10:27 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424203#M84</guid>
      <dc:creator>dariusd</dc:creator>
      <dc:date>2017-05-05T12:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424204#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... aaaaaaand I was bitten by my assumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like we no longer support vprobes on Windows hosts as of Workstation 12.&amp;nbsp; It's now only supported through the vmware-vprobe program on Linux hosts and on VMware Fusion and on the ESX hypervisor... looks like it's everything but Windows hosts.&amp;nbsp; Sorry for the misleading advice and the bad news.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 12:23:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424204#M85</guid>
      <dc:creator>dariusd</dc:creator>
      <dc:date>2017-05-05T12:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424205#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;To solve this problem I've installed the ESXi 6.5 but the host console still doesn't recognize the vmrun command or the vprobe commands...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 08:43:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424205#M86</guid>
      <dc:creator>stemasmais</dc:creator>
      <dc:date>2017-05-10T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424206#M87</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ESXi 6.5 shell simply has a &lt;SPAN style="font-family: courier new,courier;"&gt;vprobe&lt;/SPAN&gt; command, with much the same capabilities.&amp;nbsp; Its help text says that it's called &lt;SPAN style="font-family: courier new,courier;"&gt;vmware-vprobe&lt;/SPAN&gt;, but it looks like the help text is wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 13:08:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424206#M87</guid>
      <dc:creator>dariusd</dc:creator>
      <dc:date>2017-05-10T13:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424207#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's like you said! The vprobe command it's the way to execute the vp scripts but when I create a simple vp script like this below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(vprobe VMM1Hz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (printf "testing\n"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I obtain this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vprobe test.vp&lt;/P&gt;&lt;P&gt;vmware-vprobe: Failed to load script in vmkernel: cannot enable probe "VMM1Hz" Not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this error&lt;/P&gt;&lt;P&gt;vprobe -c test.vp -m /vmfs/volumes/&amp;lt;volume number&amp;gt;/linux/linux.vmx&lt;/P&gt;&lt;P&gt;vmware-vprobe: Compile error: Syntax error: &amp;lt;cmdline&amp;gt;: line 1, token '.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the file is the same!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The config is ok, I think, because I've set the vprobe.allow in /etc/vmware/config and the vprobe.enable in /vmfs/volumes/&amp;lt;volume number&amp;gt;/linux/linux.vmx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 09:02:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424207#M88</guid>
      <dc:creator>stemasmais</dc:creator>
      <dc:date>2017-05-12T09:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: vprobes start issue (windows)</title>
      <link>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424208#M89</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;vprobe test.vp&lt;/P&gt;&lt;P&gt;vmware-vprobe: Failed to load script in vmkernel: cannot enable probe "VMM1Hz" Not found&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Looks like vp scripts are no longer preferred and Emmet (.emt) is the way to do things.&amp;nbsp; At least, my super quick experiment here has been much more productive with emmett than with vp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating test.emt with the following contents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; VMM:VMM1Hz printf("testing\n");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; vprobe -m /vmfs/volumes/&lt;EM&gt;&amp;lt;volume&amp;gt;&lt;/EM&gt;/linux/linux.vmx test.emt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it should be up and running.&amp;nbsp; The -m option accepts either a full path to the .vmx file or the VMID of the vm, as shown by the &lt;SPAN style="font-family: courier new,courier;"&gt;vim-cmd vmsvc/getallvms&lt;/SPAN&gt; command at the ESXi shell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;and this error&lt;/P&gt;&lt;P&gt;vprobe -c test.vp -m /vmfs/volumes/&amp;lt;volume number&amp;gt;/linux/linux.vmx&lt;/P&gt;&lt;P&gt;vmware-vprobe: Compile error: Syntax error: &amp;lt;cmdline&amp;gt;: line 1, token '.'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You don't want the &lt;SPAN style="font-family: courier new,courier;"&gt;-c&lt;/SPAN&gt; option here... that tells the &lt;SPAN style="font-family: courier new,courier;"&gt;vprobe&lt;/SPAN&gt; utility to use the next argument as the literal text of an Emmett script to run.&amp;nbsp; In your case, you end up trying to run a script consisting of the literal text &lt;SPAN style="font-family: courier new,courier;"&gt;test.vp&lt;/SPAN&gt; (not the contents of the file with that name), hence the error reported at the &lt;SPAN style="font-family: courier new,courier;"&gt;'.'&lt;/SPAN&gt; token (which doesn't even exist within the file &lt;SPAN style="font-family: courier new,courier;"&gt;test.vp&lt;/SPAN&gt;... but does exist in the text &lt;SPAN style="font-family: courier new,courier;"&gt;"test.vp"&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, you can run a "hello world" Emmett script against VMID 1 like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; vprobe -m 1 -c 'VMM:VMM1Hz printf("Hi there\n");'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 11:26:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VProbes-Discussions/vprobes-start-issue-windows/m-p/1424208#M89</guid>
      <dc:creator>dariusd</dc:creator>
      <dc:date>2017-05-12T11:26:36Z</dc:date>
    </item>
  </channel>
</rss>

