Replication Checking
Here is a handy tip for checking up on replication row counts.
http://www.databasejournal.com/img/ReplicationValidation.txt
Alerts can be set up to watch for error codes but note that error code 20575 is actually a pass code and 20574 is a fail code.
Here is some T-SQL to help:
select distinct CASE alert_error_code
WHEN 20575 THEN 'Passed row count'
WHEN 20574 THEN 'Failed row count'
END + ' ' + RTrim(subscriber) + ' ' + RTrim(publication)
FROM msdb..sysreplicationalerts
WHERE (alert_error_code = 20575 OR alert_error_code = 20574) AND time > CONVERT(Varchar(12),Getdate(),110)
Graham Okely B App Sc
Senior Database Administrator