Error : No Host Found , Pattern name: Credentialless Discovery Network Device

daware-madhu103
Tera Contributor

Hello all,

I am trying to enable credential-less discovery using Nmap. As per the ServiceNow discovery product documentation I have followed below steps.
1. To Enable the credential-less I have clicked the related link 'Enable Credential-less Discovery' under MID server.

2. It installed the Nmap on my MID server and Nmap capability was added.

dawaremadhu103_0-1752133863297.png

3. The system property 'mid.discovery.credentialless.enable' is True.
4. But When I am trying a quick discovery on the device IP address it is showing me an error "No Host Found , Pattern name: Credentialless Discovery Network Device, To Check Pattern Log Press Here  ".

dawaremadhu103_1-1752134193607.png

 

If anyone has experience with this or similar issues, please let me know.

 

3 REPLIES 3

dbook
Kilo Sage

What information did the Pattern Logs provide? 

What is actually sitting on the IP that you are expecting to find? 

 

Something to consider is if Firewall policies in place are preventing the NMAP scan from taking place or does the End point even have any ports open? 

 

MID server logs can provide deeper information to assess what the possible issue could be, see the 'Review MID server logs' section in this KB for detailed information on how to collect these: https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB0696727 

Hello @dbook 
Pattern logs showing an error "Pattern exit because Graceful Termination, reason: No Host Found Failed Condition(s): [(${HostDiscovery} : value=) IS NOT EMPTY ]"

We are discovering new devices. After running discovery it should create that new CI. 
I have checked MID server logs but not found anything in it.

Ok, and do you know what is sitting on the IP out of interest? do you know if the ports are open? 

As for the logs, did you follow these steps as per the link I shared? I absolutely would expect to see some further information within the MID logs. 

  1. To get more detailed information on the MID server logs for SNMP queries add parameter mid.log.level = debug.
  2. Reproduce issue and review MID server log files. Review the following two docs on how to collect the MID server files:
  3. Restart MID Server
    1. Reproduce issue