Microsoft KB Archive/215495

= SAMPLE: SmAlert.exe Extends PerfMons Alert Mechanism =

Article ID: 215495

Article Last Modified on 7/11/2005

-

APPLIES TO


 * Microsoft ActiveX Data Objects 2.1
 * Microsoft Platform Software Development Kit-January 2000 Edition
 * Microsoft Data Access Components 2.5
 * Microsoft Windows NT 4.0

-



This article was previously published under Q215495



SUMMARY
SmAlert.exe is a sample that extends the usefulness of the PerfMon tool by storing PerfMon alerts in a database.



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

Smalert.exe

The following is a description of the Smart Alert Architecture:


 * 1) PerfMon has a list of counters that it monitors. When a counter is alerted, PerfMon sends the counter message to a program AlertMain.
 * 2) AlertMain forwards the message to the ATL server R1AlertLog.
 * 3) The R1AlertLog server stores the non-redundant counter data in a SmartAlert database and notifies another program, called SmartViewer, when new data is available.
 * 4) When SmartViewer gets a notification event from R1AlertLog, it displays the alert messages stored in the SmartAlert database. Instead of getting thousands of disk full messages, you have just three: the first, the most extreme (lowest free disk space), and the last message.

A complete description of this sample can be found in the March/April 99 edition and on the following Web page:

http://msdn.microsoft.com/library/en-us/dnperfmo/html/smartalerts.asp

After extracting the files, you must build the R1AlertMod component and the AlertMain subproject. You must move the SmartAlert.mdb file to the c:\ directory or change the location specified in AlertMsg.h file.

Additional query words: SmAlert

Keywords: kbdownload kbrouting kbmisctools kbmemory kboop kbserver kbservice kbsamplepro kbtrafficcontrol kbnetwork kbfile kbsyssettings kbsample kbremoteprog kbdeployment kbnettrace KB215495

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.