Insight Discovery finding objects but not adding them

Garren McKelvey June 2, 2021

I had configured the Discovery app using Discovery -s and set the IP range; ex. 192.168.1.0/24 and let the Discovery agent scan my subnet. 

I knew I had 46 servers on this subnet. The Discovery agent found all 46 and brought back successful pings for each one during the test. So I ran the Discovery agent, grabbed the zip file and uploaded it. When the upload finished, 4 new servers had been added. Out of 46.

 

I grabbed the individual IP addresses for all the servers that didn't upload, input their individual IPs into the Discovery settings and had it scan again. Again the ping test identified all successful connections and the scanner took a good 30 minutes to finish its scan so I knew it was grabbing information. When it finished it said it successfully found 14 additional objects. I uploaded that zip file and 2 more servers were added.


What is going on? Why does the Discovery say its finding and scanning my servers but when I actually import the data, it doesn't upload them?

 

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 2, 2021

Hi Garren,

Did you check if the port 51337 is accessible for all those 46 servers?

That is the used port by the agent.

I had some issues in my last scans because of the state of this connection.

Garren McKelvey June 2, 2021

I have not verified this. I will do so in the morning and get back to you guys. Thanks for the reply!

I bet thats part of it since we have a very restrictive firewall.

Garren McKelvey June 7, 2021

Gustavo. Thanks for the advice but unfortunately it didn't help. I verified the port was accessible for all servers and I ran the scan again but no change.

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 7, 2021

Hi Garren,

I see. Have you extracted the zip file to check the XML files and ensure if all servers were scanned?

Maybe the problem is in the import configuration.

For curiosity, are you using Jira DC/Server or Cloud?

Garren McKelvey June 8, 2021

Our Jira is stored in our own amazon cloud service. 

 

I can extract the XML files but I dont really know what I'm reading. I've never looked at xml...or any kind...of code before. Are there any documents I can read that would teach me how to read the xml file? Is there anything specific I should be looking for in the file?

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 8, 2021

I am not sure about that.

Maybe you should open a ticket with Atlassian to see what is going on.

Also, I don't know if you have already done this, but in Discovery logs directory, you can try to find the log file related to the agents, and verify how many hosts were scanned. That way you can make sure if the problem is in your scan or Jira import.

The log will show something like this:

08/06/2021 20:19:17 : -------------- Agent check Statistic --------------
08/06/2021 20:19:17 : Possible IPs: X
08/06/2021 20:19:17 : Reachable Agent-Clients: X
08/06/2021 20:19:17 : Unreachable Agent-Clients: X

Garren McKelvey June 9, 2021

I actually thought this was the ticket system since there isn't any "open support ticket" option in the Help section of my Atlassian settings.

 

I couldn't find any email address or support page that allowed me to open any ticket. Just this community forum. So I assumed this was their support page.

 

I've never seen the log files so I'll see if I can find that and read it. Thanks for the help.

Garren McKelvey June 9, 2021

this is what I got from my log file:

 

6/4/2021 9:32:16 AM : -------------- Discovery scan Statistic --------------
6/4/2021 9:32:16 AM : Possible IPs: 254
6/4/2021 9:32:16 AM : Unreachable Host/Devices: 208
6/4/2021 9:32:16 AM : Reachable Host/Devices: 46
6/4/2021 9:32:16 AM : Full-Scanned Hosts: 3
6/4/2021 9:32:16 AM : Canceled Hosts: 8
6/4/2021 9:32:16 AM : Deleted Hosts (Unknown): 35
6/4/2021 9:32:16 AM : Full scan time 1884 seconds with 4 threads.

 

it looks like it only fully scanned 3, deleted 35 (no clue what that means or why) and ignored 8 (no clue what that means or why)

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 9, 2021

Try to raise your problem on the following link: https://support.atlassian.com/contact/#/

About your log, I believe you are using Discovery scan over the network and not the Discovery agent as I thought.

In this case, I believe you have to check if your servers are accessible by port 22 (Linux) or 135, 5985 (Windows). Also, validate your configured credentials in Discovery.

 

I hope that was helpful.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events