Creating Useful Custom Reports in OpsMgr: How to create a simple free disk space report

In the first part of this series we discussed how to gather custom performance counters in OpsMgr (which we will later use in a custom report). In this part we will discuss the steps required to create a simple free disk space report as this is one of the top three cases I am seeing for OpsMgr reporting: Show me the amount of free space on my servers over time, show me the processor utilization over time, and show me my specific counter I want gathered over time. This blog series includes the following posts:
 

Part 1 – Gathering Custom Performance Counters in OpsMgr

Part 2 – How to create a free disk space report

Part 3 – How to create a processor utilization report for a group of servers

Part 4 – How to create a custom performance counters report for a group of servers

Part 5 – How to make my custom report publicly available

Part 6 – How to schedule my custom report for delivery

This blog post was originally created on OpsMgr 2007 and has been changed with new graphics to reflect R2.

How to create a simple free disk space report

The easy approach is not to use a report for this, but rather to use the Operations Console directly to provide a graph. This can be done through the Operations Console / Monitoring / Microsoft Windows Server / Performance Disk Capacity. This view also allows you to specify how long the graph should show data through clicking on the Select Time Range option. This option is the best option if the data required exists within the last 7 days (the default data retention period for the Operations Manager database performance metrics). A customized version of this view (restricted to the specific servers the group is interested in) can be added into a customized view which we discuss in this blog series.

OpsMgr Free Disk Space Report – Disk Capacity Reporting

This view also allows you to specify how long the graph should show data through clicking on the Select Time Range option.

clip_image002

The second option is to create a report to provide disk free space information. This can be done through creating a simple custom report using the following steps:

1. In the Operations Console open Reports / Microsoft Generic Report Library / Performance

clip_image004

  1. Double-click on the Performance report
  2. Set the date to Yesterday as a starting Date
  3. Click Change to configure the report
  4. Click on the New Chart button

clip_image006

  1. Add a name for the chart in the chart title (Disk Space Report in this example).
  2. Add a new Series.

clip_image008

  1. Click the Add Object button
  2. Type in C: for the field next to Object Name.
  3. Add the first server off of the list and click Ok.

clip_image010

  1. Click New Series
  2. Click on the Add Object
  3. Object contains C: (or D: or E: etc)
  4. Add the next server off of the list and ok.
  5. Repeat steps 11-14 until all servers / drives required for the report are added.
  6. Click on the first of the three series shown in the chart and click on the Browse button under Rule.
  7. Choose Search by Counter.
  8. Choose the Performance object of LogicalDisk.
  9. Choose the Counter % Free Space and Search.
  10. Add % Logical Disk Free Space.

clip_image012

  1. And press Ok.
  2. Perform the same action for the remaining counters. Click Ok when completed.

clip_image014

  1. Click the Run button to run the report.

clip_image016

In the next part of this blog series we will apply this same concept to another commonly asked request – how to create a simple processor utilization report for a group of servers.

Leave a Reply