Use this Knowledge Script to monitor the CPU utilization and various statistics of the File Replication Service (FRS). This script raises an event if a threshold is exceeded.
File Replication Service folder
The default interval for this script is Every 10 minutes.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event? |
Set to y to raise an event if a threshold is exceeded. The default is y. |
Collect data? |
Set to y to collect data for charts and reports. If enabled, returns data based on the threshold values you set. The default is n. |
CPU utilization of the File Replication Service |
Specify the maximum percentage of CPU resources the FRS can utilize before an event is raised. The default is 5%. |
Number of change orders received |
Specify the maximum number of change orders that can be received before an event is raised. The default is 5. |
Number of change orders sent |
Specify the maximum number of change orders that can be sent before an event is raised. The default is 5. |
Number of files installed |
Specify the maximum number of replicated files that can be installed locally before an event is raised. The default is 2. |
KB of free staging space |
Specify the minimum amount of free space in the staging directory that must be available to prevent an event from being raised. The default is 10 KB. |
Percentage of free staging space |
Specify the minimum percentage of free space in the staging directory that must be available to prevent an event from being raised. The default is 10%. |
Number of packets received |
Specify the maximum number of packets that can be received before an event is raised. The default is 10. |
Number of packets sent |
Specify the maximum number of packets that can be sent before an event is raised. The default is 10. |
Number of USN records accepted |
Specify the maximum number of USN records that can be accepted for replication before an event is raised. The default is 5. |
Event severity |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which a monitored value exceeds or falls below the threshold. The default is 8 (red event indicator). |
Severity for unexpected KS error |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the FrsBusy job fails unexpectedly. The default is 35 (magenta event indicator). |