Auto-Discovery Job Never Finishes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
johnpickett
Posts: 7
Joined: Thu Apr 17, 2014 5:53 pm

Auto-Discovery Job Never Finishes

Post by johnpickett »

Before I get flamed, I saw this post already:

http://support.nagios.com/forum/viewtop ... 16&t=25575

I am using the OVA appliance: http://assets.nagios.com/downloads/nagi ... 2.9-64.ova

Q: What version of Nagios XI are you using?
A: 2012R2.9

Q: Linux Distribution and version?
A: CentOS - 64-bit

Q: VMware Image or Manual Install of XI?
A: OVA [see above]

I don't believe my system is customized other than changing the root and config passwords and changing hostname/dhcp->static.

As this job started I saw the nmap commands cycling through (ps -aef | grep nmap) and then started to actually watch as it went through each ip (tail nmap* | grep xxx.xxx.xxx). It finished executing nmap about an hour ago but the Status animation is still going and there is no change in the other fields (Devices Found = N/A). I'm currently at a loss. Note, I'm using the trial version. My last team used Nagios Enterprise and I want to get it setup here to show them how useful it is.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Auto-Discovery Job Never Finishes

Post by abrist »

You will need to upgrade the autodiscovery config wizard and component to their newest versions, then delete any old scans and start them over.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
johnpickett
Posts: 7
Joined: Thu Apr 17, 2014 5:53 pm

Re: Auto-Discovery Job Never Finishes

Post by johnpickett »

abrist wrote:You will need to upgrade the autodiscovery config wizard and component to their newest versions, then delete any old scans and start them over.
Thanks. It actually eventually finished. I have no idea why it was taking so long after the nmap's seemed to finish. I would've reported back sooner but the post wasn't approved yet. Thanks again for your help.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Auto-Discovery Job Never Finishes

Post by abrist »

If ports are filtered (not blocked) by a network device (like a firewall), the scan can take *significantly* longer than normal as each port checks waits for a timeout. I tend to suggest that it is best to scan in small blocks, like x.x.x.x/24.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked