Skip to main content
Trailblazer
March 19, 2025
Question

Daily discovery scans are not working from last one week

  • March 19, 2025
  • 16 replies
  • 527 views

We recently rebooted the primary UVM server and since then the daily scans for discovering domain join servers are not working which is scheduled daily at night. Please suggest. 

16 replies

BeyondTrust Employee
March 19, 2025

You can refer to this KB article to troubleshoot the Discovery Scan issue.

https://beyondtrustcorp.service-now.com/csm?id=kb_article_view&sysparm_article=KB0017069

Is your scan jobs failing or they are not returning any hosts?  

AyanWSAuthor
Trailblazer
March 19, 2025

Hi Howard, The scans are not running they are supposed to run every night as scheduled scan. It is not running from last 1 week since we restarted the primary node.

BeyondTrust Employee
March 19, 2025

What status do these scans show in BeyondInsight? Are they running and completing, but not showing any assets acquired? Are there scans that appear to have been stuck running for quite some time?

Do the scans appear to not be running at all? If not, it may be worth verifying that the BeyondTrust Discovery Service is running on the UVM.

Is it possible that an HA failover may have inadvertently occurred during the reboot of the Primary UVM?

These are a few things that you can check that hopefully will give a better picture of what might be occurring.

AyanWSAuthor
Trailblazer
March 19, 2025

The last scan shows as completed and after that there’s no scan report which shows that the scan even initiated. I hope this helps. 

BeyondTrust Employee
March 19, 2025

That’s helpful info! And if you view the Active/Completed scans, does there appear to be a scan stuck running there?

AyanWSAuthor
Trailblazer
March 19, 2025

This is the scan I see but it doesnt show as stuck. I should have run next day (16 march) but it never did.

Thanks!

BeyondTrust Employee
March 19, 2025

The article that Howard provided contains some helpful commands to check the status of the Discovery scanner; I’ll include some relevant ones here:

 

Steps

1. RDP to the scanner server

2. Open Command Prompt as admin

3. Run the following command:

cd 'C:\Program Files\BeyondTrust\Discovery\'

 

Lets check the status of the BeyondTrust Discovery Service to confirm its running; this should return “Running”:

btdiscovery getd

 

Next let’s test Central Policy; this should return “Ok”:

btdiscovery testc

 

Let’s test the Event Client; this should return “Ok”:

btdiscovery teste

 

Finally, let’s confirm that the scheduled scan job is present on the Discovery scanner; this will return a list of the scheduled scans present - we would typically expect yours to be listed here:

btdiscovery gets

AyanWSAuthor
Trailblazer
March 19, 2025

Thank you, I will try and confirm. Sorry scanner server means the UVM or the RDS?

BeyondTrust Employee
March 19, 2025

Good catch - apologies for the confusion; RDP into the UVM to run these commands.

AyanWSAuthor
Trailblazer
March 19, 2025

Hi Ryan, i have run all the commands and got the desired results as well. What’s next I can follow please share?