Custom probes allows you to have more granular control about health monitoring status for your back end pool of servers. You can change the interval checks, failed request threshold and timeout settings.
This article will guide you to create an application gateway with a custom probe or adding a custom probe to an existing application gateway.