Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Mandatory Hostname missing for: xxx

Tyler Seabridge June 10, 2021

Does anyone have any info on this error?

I'm trying to configure the Insight Discovery tool, and looking through the logs I am seeing this line consistently. And I can't seem to figure out what it might be referring to.

 

Additionally, does anyone have any info on how the PowerShell-based patterns work? The documentation is not particularly clear.

 

Thank you.

1 answer

0 votes
Gustavo Delazari Borges
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2021

Hi Tyler,

 

I had this error when we were trying to use Power Shell patterns with Discovery for the first time, although there was no error using regular patterns (WMI).

We noticed that the user configured in Discovery credentials was the problem, which didn't have administrator privileges. After we used another user that had those privileges, the scan with Power Shell patterns worked perfectly.

About how the PowerShell-based patterns work, I haven't found any documentation, but if you want to view what those patterns do, try to look for "pattern" folder inside Discovery directory. All Discovery patterns are stored there, and you can open those files to see their classes.

I hope that was helpful.

Tyler Seabridge June 10, 2021

Well, ultimately, the PS patterns are the ones I'm trying to get working. When I check the .log files, I see calls and results for WMI classes but nothing for PS. 

I checked in the Discovery tool, and I have the "Use PS patterns" box checked, but I do not see any sign that they are running. We've even tried running scans using accounts with higher permissions, and nothing seems to work.

I've also found the patterns folder, but I feel like I'm missing a step with these PS patterns, but nothing is telling me what I am missing.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events