Microsoft KB Archive/300078

= How to Adjust the Polling Interval for Application Log Monitoring =

Article ID: 300078

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager 2000 Service Pack 1

-



This article was previously published under Q300078



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
Microsoft Operations Manager (MOM) uses a predefined polling interval for monitoring application logs, for example, the trace logs that Internet Information Server (IIS) and Microsoft SQL Server generate. This article explains how you can modify this predefined interval.



MORE INFORMATION
The default polling interval for monitoring an application log is five minutes. MOM polls for updates to the log file every five minutes, but MOM may not detect changes to the log file if the log is locked while an update is occurring.

You can modify the polling interval by creating a registry key value on the Agent computer. Configuration for monitoring the log file is done on the Agent computer, not on the computer where the log file may be generated. This registry key is not present by default. You must manually create the registry key if you want to modify the polling interval of the Application Log Monitoring component.

IIS logging pre-allocates 64-kilobyte chunks in its log files. This prevents notification of file changes when entries are written to the pre-allocated chunk. To compensate, the Application Log Provider sets a timer and polls files for changes. The time interval is not exposed in the Microsoft Management Console.

Changing the Time Interval
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To set a time interval other than the five-minute default interval, modify the settings in the registry:  Create the following registry key value:

HKEY_LOCAL_MACHINE\SOFTWARE\Mission Critical Software\OnePoint\Configurations\ \Operations\Agent\Event Providers\Application Log\ \FilePollInterval

 Set the registry DWORD value FilePollInterval to the number of seconds that equals the time interval that you want to use.

You can identify the GUID where you should create the value by selecting a GUID and reading the description in the right pane of Registry Editor.

Keywords: kbenv kbinfo kbnofix KB300078

-

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

© Microsoft Corporation. All rights reserved.