Availability Group- multi-subnet Listener
Received two critical alerts in Logic Monitor for Host Status and Ping for Availability Group's Listener.
The AG is healthy - looks like there is a configuration issue in LM that if a failover occurs on an AG with a multi-subnet listener the alert check fails. Shouldn't the check be on the listener name which can resolve to either IP, not a single IP address?
I had different IP when added Listener (Manage-IP address) and different IP in jdbc in properties because it's multi subnet listener.
I just changed the IP in settings (Manage-IP name) and jdbc connection string so it matches the Listener IP but he next time there is a failover it'll start alerting again.
How do I change the properties for Listener so whenever there's failover it can resolve to either IP address? Would it be just as simple as setting up Listener's DNS name in section of Manage tab and adding listener's dns in jdbc in properties?