We have a sharepoint server on-premise 2013 enterprise edition. and today i noticed that new content on our site collections are not being indexed (new content will not show on the search results). so i access the "Central Administration" >> "Managed Services" >> "Search Service", i found that the Full crawl execution time is around 323 hour and it is still running. so i stopped the full crawl , then re-index the search service, re-run the full crawl and every thing is working well now.
But my question , is how i can set an alert on the search service, so if the search service full crawl execution time exceed certain amount of time (let say exceed 1.5 hour) to send an email to our sharepoint admin? is this possible ?