Operations Manager is great, but it may be annoying at times. One of the things I did was to disable alerts pertaining to disks being too fragmented. It is, of course, a good monitor, except that I don't care about drives with no drive letter assigned (DPM volumes, recovery partitions, etc.) - we cannot defragment them anyway. Also, I am not interested in the fragmentation level of the file systems that are underutilised (some have only a few files on them and I want to exclude them also). So I will be excluding filesystems (Logical Disks) that are less than 10% full.
Here's how to do this:
Create a group that includes all logical drives with no drive letter assigned.
Start by creating a new group under Authoring:
Name the group and assign it to a management pack (better create your own one first):
Leave the Explicit Members list blank, and create a dynamic inclusion rule in the next step:
The resulting inclusion rule should look like this:
Finish the wizard and check the group membership:
Create a group that includes all logical drives with over 90% free space
This one is a bit trickier and took me a while to figure out, all because the Logical Disk type/class does not have Free Disk Space attribute pre-defined by Microsoft - so we have to create one first. In fact, you may have to create two - one for Server 2003 and one for Server 2008 if you are using both OSes in your environment. Here we'll go through creating one for Server 2008.
Under Authoring -> Management Pack Objects -> Attributes select Create a New Attribute:
Time to create a new group:
Finish the wizard and check the group membership:
Create an override
Find the Windows Server 2008 Logical Disk Fragmentation Level monitor and choose to override the monitor for a group:
All done, enjoy the peace and quiet :).
There is, perhaps, a more straight forward way of doing this, so if you know one then please let me know.
No comments:
Post a Comment