Metrics install automatically if you have Redgate Monitor installed.
If you are using Redgate’s SQL Server monitoring tool, Redgate Monitor, you can instantly install and run this metric on your servers.
Check the status of all publications within replication by looking at the dbo.MSReplication.monitor table within the distribution database. A value of 5 indicates retrying and a value of 6 indicates failed.
Metric definition
Name
Replication Publication Status
Description
Check the status of all publications within replication by looking at the dbo.MSReplication.monitor table within the distribution database. A value of 5 indicates retrying and a value of 6 indicates failed.
The T-SQL query that will collect data
Instances to collect from
Only those with a distribution database
Databases to collect from
distribution
Collection frequency
1 minute
Use collected or calculated values
Leave the Use a calculated rate of change between collections check box unchecked
Metric collection
ENABLED
Alert definition
Alert name
Application Connection Timeout Has Occurred
Description
Raise an alert when the metric value goes
above the defined threshholds
Default threshold values
High: | |
Medium: | 1 |
Low: |
Raise an alert when the threshold is passed for
1 time collections
Alert is
ENABLED