Configuring performance counter alerts
You can configure alerts to notify you when certain events
occur or when certain performance thresholds are reached. You can
send these alerts as network messages and as events that are logged
in the application event log. You can also configure alerts to start
applications and performance logs.
To configure an alert, follow these steps:
In Performance Monitor, under the Data Collector Sets
node, press and hold or right-click the User-Defined node in the
left pane, point to New, and then choose Data Collector
In the Create New Data Collector Set Wizard, type a name
for the data collector, such as Memory
Alert or Full Disk
Alert. Afterward, select the Create Manually (Advanced)
option and then tap or click Next.
On the What Type Of Data Do You Want To Include page,
select the Performance Counter Alert option and then tap or
On the Which Performance Counters Would You Like To
Monitor page, shown in Figure 20, tap or
click Add to open the Add Counters dialog box. This dialog box
is identical to the Add Counters dialog box discussed
previously. Use the Add Counters dialog box to add counters that
trigger the alert. Tap or click OK when you’re finished.
Figure 20. Select the performance counters for the alerts.
In the Performance Counters panel, select the first
counter and then use the Alert When text box to set the occasion
when an alert for this counter is triggered. Alerts can be triggered when the counter is above
or below a specific value. Select Above or Below, and then set
the trigger value. The unit of measurement is whatever makes
sense for the currently selected counter or counters. For
example, to alert if processor time is over 95 percent, you
select Above and then type 95.
Repeat this process to configure other counters you’ve selected
and then tap or click Next.
On the Create New Data Collector Set page, the Run As box
lists <Default> as the user to indicate that the log will
run under the privileges and permissions of the default system
account. To run the log with the privileges and permissions of
another user, tap or click Change. Type the user name and
password for the desired account, and then tap or click OK. User
names can be entered in DOMAIN\USERNAME format, such as
CPANDL\WilliamS for the WilliamS account in the CPANDL
Select the Open Properties For This Data Collector Set
option, and then tap or click Finish. This saves the data
collector set, closes the wizard, and then opens the related
Properties dialog box.
By default, logging is configured to start manually. To
configure a logging schedule, tap or click the Schedule tab and
then tap or click Add. You can now set the active range, start
time, and run days for data collection.
By default, logging stops only if you set an expiration
date as part of the logging schedule. Using the options on the
Stop Condition tab, you can configure the log file to stop
manually after a specified period of time, such as seven days,
or when the log file is full (if you set a maximum size
Tap or click OK when you finish setting the logging
schedule and stop conditions.If you want Windows to run a scheduled task when
data collection stops, configure the tasks on the Task tab in
the Properties dialog box.