Use this Knowledge Script to monitor the number of files currently open through a shared network drive or by a user who logged onto the computer remotely, for example, by using the net use command. This script does not raise an event if a file is opened by a user who interactively logged onto the computer.
Windows 2003 Server or later
The default schedule for this script is Every 30 minutes.
Set the following parameters as needed:
Description |
How to Set It |
---|---|
Raise event? |
Set to y to raise an event if the number of open files exceeds the threshold. The default is y. |
Collect data? |
Set to y to collect data for charts and reports. The default is n. |
Maximum number of files open threshold |
Specify the maximum number of files that can be open before an event is raised. The default is 200. |
Event severity level for open files |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of open files exceeds the threshold. The default is 5 (red event indicator). |
Event severity level for an unexpected Knowledge Script error |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which FilesOpen job fails unexpectedly. The default is 35 (magenta event indicator). |