<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Disk Utilization on shocksolution.com</title><link>https://shocksolution.com/tags/disk-utilization/</link><description>Recent content in Disk Utilization on shocksolution.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 28 May 2019 18:22:43 +0000</lastBuildDate><atom:link href="https://shocksolution.com/tags/disk-utilization/index.xml" rel="self" type="application/rss+xml"/><item><title>Disk space utilization monitoring in Google StackDriver</title><link>https://shocksolution.com/posts/disk-space-utilization-monitoring-in-google-stackdriver/</link><pubDate>Tue, 28 May 2019 18:22:43 +0000</pubDate><guid>https://shocksolution.com/posts/disk-space-utilization-monitoring-in-google-stackdriver/</guid><description>&lt;p&gt;Setting up disk space utilization alerts in Google Stackdriver is almost unbelievably tricky. It&amp;rsquo;s easy to think that you can just choose the metric &amp;ldquo;Disk Utilization&amp;rdquo; and add a condition to alert when disk utilization crosses some threshold for some length of time (such as over 55% for 1 hour).&lt;/p&gt;&#10;&lt;h2 id="file-system-type-filter"&gt;File System Type Filter&lt;/h2&gt;&#10;&lt;p&gt;Your first problem is that a Linux system has many types of file systems, even if it only has one disk. You probably want to alert when your root disk is running out of space; therefore, you need to filter out non-disk filesystems like &lt;a href="https://en.wikipedia.org/wiki/Procfs"&gt;procfs&lt;/a&gt; or tmpfs. Add a device filter to select exactly which devices you want to alert on; in my case, with only one disk per server, I match only on device rootfs.&lt;/p&gt;</description></item></channel></rss>