Can't get the auto-discovery started

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
reinaldo.gomes
Posts: 59
Joined: Wed Apr 02, 2014 9:29 am

Can't get the auto-discovery started

Post by reinaldo.gomes »

CentOS 6.7 Final
NagiosXI 5.2.2 (trial version - pre-configured VM)

Auto-discovery settings:
Scan target - 172.16.10.2/32
Frequency - One time
OS Detection - Off
Scan Delay - none
System DNS - Off

'nmap 172.16.10.2' returns valid result (host is up, ports x, y, z open).

I've waited for over 12 hours, but there's no status update, pretty much like in this topic:
https://support.nagios.com/forum/viewto ... 98#p159141

Except that I'm not running anything on schedule. Any clues?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Can't get the auto-discovery started

Post by hsmith »

We have a bug report filed for this exact issue.

Can you run these commands and let me know what happens?

Code: Select all

cd /tmp
rm -rf nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.2.0.tar.gz
tar xzf xi-5.2.0.tar.gz
cp -R -n nagiosxi/nagiosxi/basedir/html/includes/components/autodiscovery/* /usr/local/nagiosxi/html/includes/components/autodiscovery/
cd /usr/local/nagiosxi/html/includes/components/autodiscovery/
./install.sh
Former Nagios Employee.
me.
reinaldo.gomes
Posts: 59
Joined: Wed Apr 02, 2014 9:29 am

Re: Can't get the auto-discovery started

Post by reinaldo.gomes »

It worked for that single IP. I'm testing now on a broader range, but it's taking a while to complete.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Can't get the auto-discovery started

Post by hsmith »

It can take some time. A full scan of an IP range isn't always the quickest process. Additionally, there is a delay under the 'advanced options' that you can turn down. Some people need to adjust their delay so that their IDS doesn't have a fit seeing a network scan like that taking place :)
Former Nagios Employee.
me.
reinaldo.gomes
Posts: 59
Joined: Wed Apr 02, 2014 9:29 am

Re: Can't get the auto-discovery started

Post by reinaldo.gomes »

I see. What's the default delay value? 0?
The scan has finished on my /16 network, and shows the hosts as expected. Thanks for the hotfix.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Can't get the auto-discovery started

Post by hsmith »

Glad that worked, /16 is 65536 IP addresses. When it is checking multiple things on each of them, doing DNS lookups, etc, it's not the quickest process. Are we all right to close this thread as this is resolved?

Edit: just noticed your default delay question. I'll get an answer and post back.
Former Nagios Employee.
me.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Can't get the auto-discovery started

Post by hsmith »

The delay is indeed 0 by default.
Former Nagios Employee.
me.
reinaldo.gomes
Posts: 59
Joined: Wed Apr 02, 2014 9:29 am

Re: Can't get the auto-discovery started

Post by reinaldo.gomes »

Case closed. Thanks once again.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Can't get the auto-discovery started

Post by hsmith »

Happy to help.
Former Nagios Employee.
me.
Locked