<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>INF1601 Archives - LucD notes</title>
	<atom:link href="https://www.lucd.info/category/vmworld/2014/inf1601/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lucd.info/category/vmworld/2014/inf1601/</link>
	<description>My PowerShell ramblings</description>
	<lastBuildDate>Tue, 02 Sep 2014 11:47:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://www.lucd.info/wp-content/uploads/2018/12/cropped-120px-Tibetan_Dharmacakra-32x32.png</url>
	<title>INF1601 Archives - LucD notes</title>
	<link>https://www.lucd.info/category/vmworld/2014/inf1601/</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>Stats Toolbox &#8211; A vSphere Server Performance Counter tool</title>
		<link>https://www.lucd.info/2014/09/02/stats-toolbox/</link>
					<comments>https://www.lucd.info/2014/09/02/stats-toolbox/#comments</comments>
		
		<dc:creator><![CDATA[LucD]]></dc:creator>
		<pubDate>Tue, 02 Sep 2014 11:42:07 +0000</pubDate>
				<category><![CDATA[2014]]></category>
		<category><![CDATA[INF1601]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[VMworld]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[statistics]]></category>
		<guid isPermaLink="false">http://www.lucd.info/?p=4792</guid>

					<description><![CDATA[Finding out which performance counters are available on your vSphere server over which [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Finding out which performance counters are available on your vSphere server over which time interval, is not always an easy task. There is of course the <a href="https://pubs.vmware.com/vsphere-55/topic/com.vmware.wssdk.apiref.doc/vim.PerformanceManager.html" target="_blank">Performance Manager</a> entry in the <a href="https://pubs.vmware.com/vsphere-55/topic/com.vmware.wssdk.apiref.doc/right-pane.html" target="_blank">VMware vSphere API Reference</a>, but that is not always the easiest task. Let alone finding out what a specific counter actually represents.</p>
<p>For that reason I decided to create a tool, which I called the <strong>Stats Toolbox</strong>, that would query the vSphere server to get the actual list of counters it collects for each interval. In the tool I added some <strong>extra features</strong> that would make working with the performance counters easier.</p>
<p><a href="https://www.lucd.info/2014/09/02/stats-toolbox/stats-toolbox/" rel="attachment wp-att-4793"><img fetchpriority="high" decoding="async" class="wp-image-4793 size-medium aligncenter" src="https://lucd.info/wp-content/uploads/2014/09/Stats-Toolbox-300x298.png" alt="Stats-Toolbox" width="300" height="298" srcset="https://www.lucd.info/wp-content/uploads/2014/09/Stats-Toolbox-300x298.png 300w, https://www.lucd.info/wp-content/uploads/2014/09/Stats-Toolbox-150x150.png 150w, https://www.lucd.info/wp-content/uploads/2014/09/Stats-Toolbox.png 600w" sizes="(max-width: 300px) 100vw, 300px" /></a>During our <strong>VMworld 2014 US</strong> breakout session I demonstrated the features of the <strong>Stats Toolbox</strong>, and I received quite some positive feedback.</p>
<p><span id="more-4792"></span></p>
<h2>Stats Toolbox Overview</h2>
<p>The <strong>Stats Toolbox</strong> is a PowerShell/PowerCLI script that uses a <strong>GUI</strong> to interact with the user. The form that is presented has several regions.</p>
<p><a href="https://www.lucd.info/2014/09/02/stats-toolbox/statstb-regions/" rel="attachment wp-att-4798"><img decoding="async" class="alignnone size-full wp-image-4798" src="https://lucd.info/wp-content/uploads/2014/09/statstb-regions.png" alt="statstb-regions" width="510" height="612" srcset="https://www.lucd.info/wp-content/uploads/2014/09/statstb-regions.png 510w, https://www.lucd.info/wp-content/uploads/2014/09/statstb-regions-250x300.png 250w" sizes="(max-width: 510px) 100vw, 510px" /></a></p>
<h3>Connectivity</h3>
<p>This is where you connect to a vSphere server. That can be a vCenter or an ESXi server. The names of the servers are saved in an INI file in the current directory.</p>
<p>When a connection is established, the type and version of the vSphere server will be displayed.</p>
<h3>Intervals</h3>
<p>There are 5 possible intervals. The Realtime interval is available on an ESXi server, it captures all the counters and it buffers approximately 1 hour of performance data. This is, by default, the only available interval on an ESXi server. When you connect to an ESXi server, the Historical Intervals are not available.</p>
<p><a href="https://www.lucd.info/2014/09/02/stats-toolbox/statstb-esxi/" rel="attachment wp-att-4799"><img decoding="async" class="alignnone size-full wp-image-4799" src="https://lucd.info/wp-content/uploads/2014/09/statstb-esxi.png" alt="statstb-esxi" width="513" height="612" srcset="https://www.lucd.info/wp-content/uploads/2014/09/statstb-esxi.png 513w, https://www.lucd.info/wp-content/uploads/2014/09/statstb-esxi-251x300.png 251w" sizes="(max-width: 513px) 100vw, 513px" /></a></p>
<p>The Historical Intervals, 1 till 4, are available on a vCenter server. The counters in these intervals are created by the aggregation jobs that run on the vCenter database at regular intervals. The available counters in each of these intervals are determined by the Statistics Level that is defined for each Historical Interval.</p>
<p>You can find more information on these intervals in my <a href="https://www.lucd.info/2009/12/30/powercli-vsphere-statistics-part-1-the-basics/" target="_blank">PowerCLI &amp; vSphere statistics – Part 1 – The basics</a> post.</p>
<h3>Counters</h3>
<p>The table lists all available counters for a specific interval and for a specific counter group. The counter group &#8220;&lt;All&gt;&#8221; will display all counters.</p>
<p>Note that in the Historical Intervals there is a distinction between the regular, or aggregate, level and the device level. The regular level will return an average over all the individual devices. For example, the average over CPU0, CPU1, CPU2 and CPU3. The device level returns the counter per device. In the same example, there would be a counter for CPU0 and CPU1 and CPU2 and CPU3.</p>
<h3>Entities</h3>
<p>The entities list shows all inventory items on the connected vSphere Server for which performance data is available. The Search option accepts Regular Expressions. For example, the search string &#8220;^test&#8221; will return all inventory items that start with &#8220;test&#8221;.</p>
<h3>Tools</h3>
<p>There are a number of tools available for the counters and for the entities. A short overview.</p>
<h4>Change Level</h4>
<p>Allows one to change the regular or device level for a specific counter or counters. Watch out, this might increase the size of your vCenter database !</p>
<h4>Google It</h4>
<p>The button will open your default browser, and start a Google search with the selected counter. You can fine-tune the search, by limiting the results to the VMTN communities or to the PowerCLI community.</p>
<h4>Oldest</h4>
<p>This will return for the selected entity/entities the oldest available performance data.</p>
<h4>Generate Code</h4>
<p>The script will generate a Get-Stat script that uses the selected counter(s) and entity/entities. The generated code is available in the clipboard.</p>
<h2>A short demo</h2>
<p>During the VMworld 2014 US session we showed the following demo. It runs through all the available features in the Stats Toolbox.</p>
<div style="width: 770px;" class="wp-video"><video class="wp-video-shortcode" id="video-4792-1" width="770" height="485" preload="metadata" controls="controls"><source type="video/mp4" src="https://lucd.info/wp-content/uploads/2014/09/3-StatsToolbox.mp4?_=1" /><a href="https://lucd.info/wp-content/uploads/2014/09/3-StatsToolbox.mp4">https://lucd.info/wp-content/uploads/2014/09/3-StatsToolbox.mp4</a></video></div>
<h2></h2>
<h2>Download script</h2>
<p>[wpfilebase tag=file id=14]</p>
<p>After you download the script, make sure to &#8220;<strong>Unblock</strong>&#8221; it.</p>
<p><a href="https://www.lucd.info/2014/09/02/stats-toolbox/unblock/" rel="attachment wp-att-4808"><img loading="lazy" decoding="async" class="alignnone wp-image-4808 size-medium" src="https://lucd.info/wp-content/uploads/2014/09/unblock-219x300.png" alt="unblock" width="219" height="300" srcset="https://www.lucd.info/wp-content/uploads/2014/09/unblock-219x300.png 219w, https://www.lucd.info/wp-content/uploads/2014/09/unblock.png 377w" sizes="auto, (max-width: 219px) 100vw, 219px" /></a></p>
<p>This is a first public version of the Stats Toolbox. If you encounter any issues, please let me know. And feel free to suggest features to add to the Stats Toolbox.</p>
<p>Enjoy !</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lucd.info/2014/09/02/stats-toolbox/feed/</wfw:commentRss>
			<slash:comments>21</slash:comments>
		
		<enclosure url="https://lucd.info/wp-content/uploads/2014/09/3-StatsToolbox.mp4" length="7051808" type="video/mp4" />

			</item>
	</channel>
</rss>
