Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Insight discovery 'Mandatory Hostname' Error while running

I'm using Discovery 2.27.1.0 on a Windows Environment, and when a try to collect data from my Windows servers, I get the following error according to the logs: Error: Mandatory Hostname missing for: 10.128.4.200

This is just a test with the discovery tool. These errors only occur when I use the "..._PS.pat" patterns. WMI patterns work properly.

 

Here is the log content:

09/11/2020 20:00:28 : Start scan...
09/11/2020 20:00:28 : --------------- Start Discovery (2.27.1.0 - 7896C) scan ---------------
09/11/2020 20:00:28 : ScanSetting: 00014 with entire Range: 10.128.4.200
09/11/2020 20:00:28 : Generating list of IP's to scan from range: 10.128.4.200
09/11/2020 20:00:28 : Getting 1 IP's to scan.
09/11/2020 20:00:28 : Start Scan Thread: 00014 IP: 10.128.4.200 TaskID: 0000000001
09/11/2020 20:00:28 : Start Scan Thread: 00014 IP: 10.128.4.200 TaskID: 0000000001
09/11/2020 20:00:28 : Start getting HostInfo.
09/11/2020 20:00:28 : Start Scan: 10.128.4.200
09/11/2020 20:00:28 : Ping 10.128.4.200 --> Success ResponseTime=0ms TTL=128
09/11/2020 20:00:28 : We have 3 credentials in total.
09/11/2020 20:00:28 : 0 Known-Credentials found.
09/11/2020 20:00:28 : We have 1 credential(s) that are matching for the Scan-Setting 00014, all other credentials will be ignored!
09/11/2020 20:00:28 : We have 1 credential(s) configured for all Scan-Settings.
09/11/2020 20:00:28 : We have 2 possible credetentials for the ip 10.128.4.200
09/11/2020 20:00:28 : Start WMI/PowerShell-Connection (c35c42a9-2805-4bbf-86d6-3cafe1017450) to 10.128.4.200
09/11/2020 20:00:29 : Finish WMI/PowerShell-Connection (c35c42a9-2805-4bbf-86d6-3cafe1017450) to 10.128.4.200 - used 0,3405972 seconds - result: True
09/11/2020 20:00:29 : Connected to 10.128.4.200 with WMI-Credential: c35c42a9-2805-4bbf-86d6-3cafe1017450
09/11/2020 20:00:29 : Using pattern: Windows_Hostinfo_Timezone_PS.pat (v1.0.0)
09/11/2020 20:00:29 : pattern executed in 0,5392965 seconds
09/11/2020 20:00:29 : Error: Mandatory Hostname missing for: 10.128.4.200
09/11/2020 20:00:29 : Total used scantime 0,988675 seconds.
09/11/2020 20:00:29 : Finish scan for 10.128.4.200
09/11/2020 20:00:29 : Getting 1 HostInfo (RAW)
09/11/2020 20:00:29 : Start getting DeviceInfo.
09/11/2020 20:00:29 : No known credentials found.
09/11/2020 20:00:29 : No known credentials found.
09/11/2020 20:00:29 : Getting 0 DeviceInfo (RAW)
09/11/2020 20:00:29 : Start getting SNMP HostList.
09/11/2020 20:00:29 : Getting 0 SNMP Hosts (RAW)
09/11/2020 20:00:30 : Scan Threads: waiting=0, running=0, stopped=1, sum=1
09/11/2020 20:00:30 : Deleting (Tagged-Host) 10.128.4.200
09/11/2020 20:00:30 : -------------- Discovery scan Statistic --------------
09/11/2020 20:00:30 : Possible IPs: 1
09/11/2020 20:00:30 : Reachable Host/Devices: 1
09/11/2020 20:00:30 : Deleted Hosts (tagged for delete): 1
09/11/2020 20:00:30 : Full scan time 1 seconds with 8 threads.
09/11/2020 20:00:30 : -----------------------------------------------

1 answer

1 accepted

0 votes
Answer accepted

The problem was related to the user I've configured in the Discovery credentials.

I changed it to a user that have root permissions and the next scan didn't show any errors.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

How to log work and track time in Jira when a person is part of multiple teams

  The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...

105 views 2 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you