Exclude Drive from Logical Disk Free Space Monitoring: Part 1


Since I just wrote an article on how to use the Logical Disk Free Space monitor, I figured this would be a nice compliment to that post.  I highly recommend reading that article to get an understanding of this monitor before moving forward with this post.

Someone asked me today, how to exclude a disk from the Operations Manager disk space monitoring, which is included in the Windows Server management packs (2000/2003/2008).  Specifically, he wanted to override monitoring of drives that were dedicated to host a Pagefile.

I can see this as a common request, as many shops move the system Pagefile to a dedicated drive for performance reasons.  In his scenario, the standard location for the Pagefile was the P drive.  However, as is often the case, there are exceptions to the rule.  Some Pagefiles are located on some other drive for whatever reason.

In this part 1 of this article, I’m going to explain how to override the Logical Disk Free Space monitor for a specific drive letter.  Later, I’ll follow up with a part 2 of this article, to explain how we can override this monitor for any drive that contains a Pagefile.

This will be a simple walkthrough with screenshots.  In the following scenario, I will override disk space monitoring for all E drives.  No reason to expound on the process, as the screenshots should explain with sufficient detail.

Create a group

image

Name it, replacing E with your drive letter.  Give it a description (optional).  Save it to your custom MP, or create a new MP for your disk space monitoring drive groups and overrides.

image

Click next two times, and click on Create/Edit rules…

image

Follow the steps exactly, as numbered, replacing E with your drive letter.

image

Click Ok.  Click next two times.  Click create.

You can verify the group populated by right-clicking on your new group and selecting View group members…

image

Create the override

In the Authoring space, click Monitors.

image

Change Change Scope.

image

First click Clear All.  The type “logical disk” in the Look for box.  Then click Select All.  Click Ok.

image

Expand one of the types, to the Logical Disk Free Space monitor.  Remembering you’ll need to override for each type, if you want the override to affect Windows 2000, 2003 and 2008 Servers.  Right-click the monitor, and create the override as follows.

image

Click on View all targets.  Type in your drive group name in the Look for box.  Select your group, then click Ok.

image

Check the Enabled parameter.  Select False from the Override Setting drop-down list.  Then click Ok.

image

The result

Looking at health explorer, I can see that the E drive is no longer monitored by the Logical Disk Free Space monitor.  This is indicated by an empty green circle.  Whereas, the C drive is still being monitored.

image

See you in Part 2, where I’ll explain how to create an override for any drive that hosts a Pagefile.


Comments (15)

  1. @Chandra – I would like to author a MP that offers this type of functionality.  Not only for drives containing pagefile, but for many other types of drives as well.  I will be looking at this project sometime in the near future.  Thanks for reading.

  2. Hi Tracey,

    I haven’t written part 2 yet, but have been thinking about it lately now that you brought it up.  As soon as I have time, I will certainly do so, especially now knowing there are interested readers. 🙂

    -Jonathan

  3. You should be able to target Logical Disk objects.

  4. You'll need to go into the object discoveries and find the appropriate logical disk discovery, then override disable it.  After doing this, you might need to run Remove-DisabledMonitoringObject cmdlet to remove the inventory.

  5. Jason – this would be accomplished by tweaking notification subscriptions, not on the monitor itself.

  6. tracey says:

    Does anyone know where is part 2?

  7. Sjaak says:

    I can't wait until part 2 is ready 🙂

  8. Roger says:

    Great article. I have been trying to exclude the backup drive from free space monitoring since the  drive will allways be nearly full. The technique presented here works for us since we use the same drive letter across our servers, but I am looking forward to part 2 to make the override smarter.

    Thanks!

  9. Harsha LP says:

    Great work jonathan. very use ful !!!

  10. pua says:

    I understand from this post on how to override a monitor for a specific logical disk.  But I was wondering how to override the Discovery instead?

  11. chandra says:

    I am looking for overriding the drive which has a Pagefile… Can I know when this would be posted.

  12. SL says:

    I wonder if I can apply it to the logical disk alerts for DPM backed up drives junction points in C:Program FilesMicrosoft DPMDPMVolumesDiffAreaMicrosoft Hyper-V VSS Writer…these alerts have been driving me nuts

  13. Jason says:

    Great article, I really appreciate your time.

    Quick question, is it possible to set up logical free space to alert only on the os logical drive (normally c:) for a specific group the server admin group per say?

    Thank you again.