Replication Monitoring Services is designed to monitor the replication environment. When something happens in your environment, the server and component status changes. These changes are displayed in the event log. You can use RMS to create event triggers to monitor these changes.
Event triggers notify you when some event occurs in the replication environment. RMS executes a script when the specified event occurs. For example, a user can set up a script to request an e-mail message when a connection becomes suspended. This capability lets you specify a method of notification when an event occurs. You can create an event trigger for any server or component that the RMS monitors.
Creating an event trigger for a Replication Server
In the object tree, select the Replication Server.
On the right side of the desktop, select the Event Log pane.
Double-click the Add Server Event Trigger icon.
Select the status change that will trigger the event.
Enter a “Wait before executing” value (optional). This causes RMS to wait for the event to change before executing the trigger.
Select “Execute at each interval” (optional). This causes RMS to execute the trigger at each monitoring interval instead of just once.
Enter the name of the script for RMS to execute when the event occurs.
Click OK. The new event displays in the Event Log pane.