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.
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
- Double-click on the Performance report
- Set the date to Yesterday as a starting Date
- Click Change to configure the report
- Click on the New Chart button
- Add a name for the chart in the chart title (Disk Space Report in this example).
- Add a new Series.
- Click the Add Object button
- Type in C: for the field next to Object Name.
- Add the first server off of the list and click Ok.
- Click New Series
- Click on the Add Object
- Object contains C: (or D: or E: etc)
- Add the next server off of the list and ok.
- Repeat steps 11-14 until all servers / drives required for the report are added.
- Click on the first of the three series shown in the chart and click on the Browse button under Rule.
- Choose Search by Counter.
- Choose the Performance object of LogicalDisk.
- Choose the Counter % Free Space and Search.
- Add % Logical Disk Free Space.
- And press Ok.
- Perform the same action for the remaining counters. Click Ok when completed.
- Click the Run button to run the report.
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.