4.61 SharedFiles

Use this Knowledge Script to monitor and list shared files that are open. This script raises an event if the number of open shared files exceeds the threshold you specify. Run this script on the server that hosts the shared files.

4.61.1 Prerequisite

Before running this script, ensure that the AppManager Client Resource Monitor service (netiqmc.exe) is set to log on as a domain user account in the same domain as, or a domain trusted by, the target computer.

4.61.2 Resource Objects

Windows 2003 Server or later

4.61.3 Default Schedule

The default schedule for this script is to Every 5 minutes.

4.61.4 Setting Parameter Values

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 shared files exceeds the threshold. The default is y.

Collect data?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of shared files currently open. The detail message lists the shared files with file IDs and lock information. The default is n.

Maximum number of shared files open threshold

Specify the maximum number of shared files that can be open at one time before an event is raised. The default is 100.

Event severity level

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of open shared files exceeds the threshold. The default is 8 (red event indicator).