Discovery schedules are getting canceled after max time

venkat101
Tera Guru

Hi,

I am have issues with scheduled discoveries getting canceled with information message: "Canceling discovery because max run time window has been exceeded".

Not all discoveries are happening like this, but still have to resolve it. Any suggestions are much appreciated.

 

3 REPLIES 3

Rahul Priyadars
Giga Sage
Giga Sage

Hi Venkat

 

Give Discovery Schedule is having how many IPs?

 

Some Use ful KBs

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0676340

 

RahulPriyadars_0-1688882291746.png

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0695928

 

Regards

RP

 

Riya Verma
Kilo Sage
Kilo Sage

Hi @venkat101 ,

 

Hope you are doing great.

 

To troubleshoot and resolve this problem, I suggest the following steps:

  1. Start by examining the schedules for the affected discoveries. Ensure that the scheduled run time and duration are appropriately configured and aligned with the resources available for discovery.

  2. Increase Max Run Time Window: If you find that the discoveries are consistently exceeding the configured run time window, you may consider increasing the maximum run time window for these discoveries. 

  3. Optimize Discovery Probes: Evaluate the probes used during the discovery process. Determine if there are any probes that are resource-intensive or causing delays. Consider optimizing or adjusting these probes to improve performance.

  4. Check Resource Allocation: Verify that the resources allocated for discovery, such as CPU, memory, and network bandwidth, are adequate to support the scheduled discoveries. Inadequate resources can contribute to longer discovery times and possible cancellations.

  5. Monitor the discovery logs for any recurring patterns or errors that may shed light on the cancellations. Analyzing these logs can help identify specific issues and guide the troubleshooting process.

  6. Collaborate with ServiceNow Support if the issue persists.

 
Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Regards,
Riya Verma

venkat101
Tera Guru

Issue is been resolved. Configuration for schedules are not working. so, i changed to behavior discovery and working now.