<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Azure: Alert on Server disk space below XXGB	</title>
	<atom:link href="https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/feed/" rel="self" type="application/rss+xml" />
	<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=azure-alert-on-server-disk-space-below-xxgb</link>
	<description>A blog about Azure Kubernetes Service (AKS) and more...</description>
	<lastBuildDate>Tue, 18 Mar 2025 06:53:47 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Naqash		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-573</link>

		<dc:creator><![CDATA[Naqash]]></dc:creator>
		<pubDate>Tue, 18 Mar 2025 06:53:47 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-573</guid>

					<description><![CDATA[Hi, can you clarify if the &quot;setgbvalue&quot; is only a reference or considered to be total disk size a VM has? For example, what if my server has 1 TB of disk and i am setting 100 GB as set value. Should i change it as well? Please explain.]]></description>
			<content:encoded><![CDATA[<p>Hi, can you clarify if the &#8220;setgbvalue&#8221; is only a reference or considered to be total disk size a VM has? For example, what if my server has 1 TB of disk and i am setting 100 GB as set value. Should i change it as well? Please explain.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Fed		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-551</link>

		<dc:creator><![CDATA[Fed]]></dc:creator>
		<pubDate>Thu, 30 Mar 2023 00:03:27 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-551</guid>

					<description><![CDATA[Wondering if you can tweak it to support Azure Monitor and InsightsMetrics. Thank you]]></description>
			<content:encoded><![CDATA[<p>Wondering if you can tweak it to support Azure Monitor and InsightsMetrics. Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pixel Robots.		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-497</link>

		<dc:creator><![CDATA[Pixel Robots.]]></dc:creator>
		<pubDate>Fri, 30 Apr 2021 11:33:02 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-497</guid>

					<description><![CDATA[Hi, So all this is doing is using perfmon metrics. So I believe there is one that can show you free disk %. All you will have to do is use taht and do a few small tweaks to the above query.]]></description>
			<content:encoded><![CDATA[<p>Hi, So all this is doing is using perfmon metrics. So I believe there is one that can show you free disk %. All you will have to do is use taht and do a few small tweaks to the above query.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Roger		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-495</link>

		<dc:creator><![CDATA[Roger]]></dc:creator>
		<pubDate>Thu, 29 Apr 2021 10:47:11 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-495</guid>

					<description><![CDATA[Id like to know this too! Great post though Richard]]></description>
			<content:encoded><![CDATA[<p>Id like to know this too! Great post though Richard</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: shrikant		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-479</link>

		<dc:creator><![CDATA[shrikant]]></dc:creator>
		<pubDate>Thu, 28 Jan 2021 09:19:54 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-479</guid>

					<description><![CDATA[great query but is there any way we can define sending alert when specific percenatge remains on the disk.for example if drive c and d has disk space 10% less than total volume then it will send an email.]]></description>
			<content:encoded><![CDATA[<p>great query but is there any way we can define sending alert when specific percenatge remains on the disk.for example if drive c and d has disk space 10% less than total volume then it will send an email.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pixel Robots.		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-423</link>

		<dc:creator><![CDATA[Pixel Robots.]]></dc:creator>
		<pubDate>Thu, 27 Feb 2020 11:31:31 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-423</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-420&quot;&gt;Sarah&lt;/a&gt;.

Do you have any servers with less than 30gb of free disk space? I have also noticed that you have set in the query to not include the C:\ drive.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-420">Sarah</a>.</p>
<p>Do you have any servers with less than 30gb of free disk space? I have also noticed that you have set in the query to not include the C:\ drive.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sarah		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-420</link>

		<dc:creator><![CDATA[Sarah]]></dc:creator>
		<pubDate>Sun, 23 Feb 2020 13:41:07 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-420</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-395&quot;&gt;Pixel Robots.&lt;/a&gt;.

hello dear, 

i used the code put but did not receive any alert

noting that my code is as per below
let setgbvalue = 30;

Perf
&#124; where TimeGenerated &#062; ago(1h)
&#124; where ObjectName == &quot;LogicalDisk&quot; and CounterName == &quot;Free Megabytes&quot;
&#124; where InstanceName !contains &quot;C:&quot;
&#124; where InstanceName !contains &quot;_Total&quot; 
&#124; extend FreeSpaceGB = CounterValue/1024
&#124; summarize FreeSpace = min(FreeSpaceGB) by Computer, InstanceName
&#124; where FreeSpace &#060; setgbvalue]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-395">Pixel Robots.</a>.</p>
<p>hello dear, </p>
<p>i used the code put but did not receive any alert</p>
<p>noting that my code is as per below<br />
let setgbvalue = 30;</p>
<p>Perf<br />
| where TimeGenerated &gt; ago(1h)<br />
| where ObjectName == &#8220;LogicalDisk&#8221; and CounterName == &#8220;Free Megabytes&#8221;<br />
| where InstanceName !contains &#8220;C:&#8221;<br />
| where InstanceName !contains &#8220;_Total&#8221;<br />
| extend FreeSpaceGB = CounterValue/1024<br />
| summarize FreeSpace = min(FreeSpaceGB) by Computer, InstanceName<br />
| where FreeSpace &lt; setgbvalue</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pixel Robots.		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-395</link>

		<dc:creator><![CDATA[Pixel Robots.]]></dc:creator>
		<pubDate>Mon, 26 Aug 2019 09:57:46 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-395</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-394&quot;&gt;Rizaan&lt;/a&gt;.

Hello, You can add another &#124; where to the query.

&#124; where InstanceName !contains &quot;HarddiskVolume1&quot; 

Just add it under the last &#124; where InstanceName]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-394">Rizaan</a>.</p>
<p>Hello, You can add another | where to the query.</p>
<p>| where InstanceName !contains &#8220;HarddiskVolume1&#8221; </p>
<p>Just add it under the last | where InstanceName</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rizaan		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-394</link>

		<dc:creator><![CDATA[Rizaan]]></dc:creator>
		<pubDate>Thu, 22 Aug 2019 09:32:14 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-394</guid>

					<description><![CDATA[hi

i used the code , however my report shows HarddiskVolume1 which my temp Drive , how do i remove this ?

appreciate your help thus far

excellent post]]></description>
			<content:encoded><![CDATA[<p>hi</p>
<p>i used the code , however my report shows HarddiskVolume1 which my temp Drive , how do i remove this ?</p>
<p>appreciate your help thus far</p>
<p>excellent post</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pixel Robots.		</title>
		<link>https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-319</link>

		<dc:creator><![CDATA[Pixel Robots.]]></dc:creator>
		<pubDate>Wed, 20 Mar 2019 13:43:17 +0000</pubDate>
		<guid isPermaLink="false">https://pixelrobots.co.uk/?p=32345#comment-319</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-291&quot;&gt;Crunch&lt;/a&gt;.

Hello,

To remove the d:\ from the report you can use the following code.

// enter a GB value to check
let setgbvalue = 100;
// Query
Perf
&#124; where TimeGenerated &gt; ago(1h)
&#124; where ObjectName == &quot;LogicalDisk&quot; and CounterName == &quot;Free Megabytes&quot;
&#124; where InstanceName !contains &quot;D:&quot;
&#124; where InstanceName  !contains &quot;_Total&quot; 
&#124; extend FreeSpaceGB = CounterValue/1024
&#124; summarize FreeSpace = min(FreeSpaceGB) by Computer, InstanceName
&#124; where FreeSpace &lt; setgbvalue


I have updated the code above now also. Thanks.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://pixelrobots.co.uk/2019/01/azure-alert-on-server-disk-space-below-xxgb/#comment-291">Crunch</a>.</p>
<p>Hello,</p>
<p>To remove the d:\ from the report you can use the following code.</p>
<p>// enter a GB value to check<br />
let setgbvalue = 100;<br />
// Query<br />
Perf<br />
| where TimeGenerated > ago(1h)<br />
| where ObjectName == &#8220;LogicalDisk&#8221; and CounterName == &#8220;Free Megabytes&#8221;<br />
| where InstanceName !contains &#8220;D:&#8221;<br />
| where InstanceName  !contains &#8220;_Total&#8221;<br />
| extend FreeSpaceGB = CounterValue/1024<br />
| summarize FreeSpace = min(FreeSpaceGB) by Computer, InstanceName<br />
| where FreeSpace < setgbvalue


I have updated the code above now also. Thanks.
</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
