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?
Can't get the auto-discovery started
Re: Can't get the auto-discovery started
We have a bug report filed for this exact issue.
Can you run these commands and let me know what happens?
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.shFormer Nagios Employee.
me.
me.
-
reinaldo.gomes
- Posts: 59
- Joined: Wed Apr 02, 2014 9:29 am
Re: Can't get the auto-discovery started
It worked for that single IP. I'm testing now on a broader range, but it's taking a while to complete.
Re: Can't get the auto-discovery started
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.
me.
-
reinaldo.gomes
- Posts: 59
- Joined: Wed Apr 02, 2014 9:29 am
Re: Can't get the auto-discovery started
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.
The scan has finished on my /16 network, and shows the hosts as expected. Thanks for the hotfix.
Re: Can't get the auto-discovery started
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.
Edit: just noticed your default delay question. I'll get an answer and post back.
Former Nagios Employee.
me.
me.
Re: Can't get the auto-discovery started
The delay is indeed 0 by default.
Former Nagios Employee.
me.
me.
-
reinaldo.gomes
- Posts: 59
- Joined: Wed Apr 02, 2014 9:29 am
Re: Can't get the auto-discovery started
Case closed. Thanks once again.