Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
What you could do is utilize the track function similar to tracking an interface. Create a track group using echo reachibility for the other router and configure your HSRP group to track that track group.Example:Router B Config snip:!!track 123 rtr 3...