Previous | Table of Contents | Next |
There are several methods you can use to capture performance data. Most major corporations use an SNMP monitoring and configuration tool. Because of the expense, this type of tool is usually only available to a few network administrators, and it might not even be configured to log data from all computers on the network. There have been several cases where Ive walked into a clients site and been told that the SNMP software was to be used strictly to monitor or configure the network routers, hubs, and concentrators and not to be used for any other purposeeven for reporting hardware or configuration failures on a client that supports the SNMP interface (such as Windows NT). In my mind, this defeats the purpose for this kind of software. But, usually, you cant argue with management over this type of policy. Instead, you need to come up with an alternative that will perform the job and solve the problem.
This is why we are going to discuss two readily available alternatives to the data collection issue. As part of this discussion, you will learn how to convert collected data into a form more manageable by your applications. The first method well discuss is to use the Performance Monitor and Microsoft Excel. Performance Monitor is included with Windows NT, and, in most cases, Microsoft Excel is readily available. The second method uses tools provided with the Windows NT Server Resource Kit to collect the data, but youll still need to use Microsoft Excel or a similar application to compare the data. So, lets get started with a look at the basic process using the Performance Monitor and Excel.
Using the Performance Monitor to create charts, logs, reports, and alerts is discussed in Chapter 4, Introducing The Performance Monitor, so Im not going to bore you by repeating all that step-by-step information here. Instead, Ill demonstrate how to use the Performance Monitor to capture performance data and transfer it to an Excel spreadsheet. Then, using Excel, Ill demonstrate how you can create charts similar to those of the Performance Monitor. Keep in mind that this is a simple example because simple examples are more readily understood. Rather than look at multiple collections of data, we will only examine a single instance. You can use the same technique, however, to examine multiple days, weeks, or even months of data. The more data you examine, the more likely you will be able to spot performance trends.
The first requirement in this process is to capture your data using the Performance Monitor. Once you have captured the data, you need to configure the Performance Monitor to use it.
Using The Performance Monitor To Export Data From A Log File
You can configure the Performance Monitor to use previously captured performance data in a log file and then export the data for use by Microsoft Excel. The first step in this process is to load the data stored in the log file and create a chart to filter the data by executing the following steps:
Figure 5.1 Specifying the log file to use with Performance Monitor.
When you have completed adding your object counters, the chart should appear similar to the chart shown in Figure 5.2. Of course, you are probably using different object counters, so your chart will not be exactly the same. However, your chart should demonstrate various peaks and valleys so that you can see data was captured. If data was not captured correctly, you will have to recapture it. You might have to experiment with the collection interval to get a better sample. Once you have a good data capture, you need to export it.
Figure 5.2 Viewing collected data with the Performance Monitor.
Exporting Captured Data
Exporting captured data can be accomplished by following the steps presented in this section:
Figure 5.3 Exporting data from the Performance Monitor.
The next stage of the process is to load the data into Microsoft Excel and build a chart to display the data.
Previous | Table of Contents | Next |