Page 1 of 1
Auto discovery failure
Posted: Mon Mar 02, 2020 1:11 pm
by drighter
autodiscovery never finishes and if we click cancel the job is deleted.
Re: Auto discovery failure
Posted: Mon Mar 02, 2020 1:57 pm
by lmiltchev
How long did you wait before canceling the job? Are you scanning a very large network? Does the auto-discovery work if you try to scan a single IP address? What were the options that you used when you run the auto-discovery, e.g. Schedule, OS Detection, Scan Delay, System DNS, and Custom Ports?
What is the version of Nagios XI that you are currently using? What is the version of the Auto-Discovery component, and the Auto-Discovery wizard that you are currently using?
Admin > System Extensions > Manage Components
Admin > System Extensions > Manage Config Wizards
Have you tried upgrading the components and wizards by clicking on the "Check for Updates" button?
Do you see any errors in the apache error log?
Code: Select all
tail -100 /var/log/httpd/error_log
If this is a timeout issue, you may need to increase the resources in the php.ini file. To learn how to do this, check our KB article on optimizing the PHP settings file:
https://support.nagios.com/kb/article.php?id=611
Re: Auto discovery failure
Posted: Mon Mar 02, 2020 2:04 pm
by drighter
Version 5.6.12
Auto Discovery Version: 2.2.6
Check for updates usually just hangs. We have to update from the shell.
No Apache errors.
Re: Auto discovery failure
Posted: Mon Mar 02, 2020 2:39 pm
by lmiltchev
How long did you wait before canceling the job? Are you scanning a very large network? Does the auto-discovery work if you try to scan a single IP address? What were the options that you used when you run the auto-discovery, e.g. Schedule, OS Detection, Scan Delay, System DNS, and Custom Ports?
Auto Discovery Version: 2.2.6
This is the version of the Auto-Discovery component. What is the version of the wizard?
Check for updates usually just hangs. We have to update from the shell.
Can you PM me your latest
profile (
Admin > System Config > System Profile > Download Profile), and the
/etc/php.ini file?
Re: Auto discovery failure
Posted: Tue Mar 03, 2020 3:10 pm
by lmiltchev
How long did you wait before canceling the job? Are you scanning a very large network? Does the auto-discovery work if you try to scan a single IP address? What were the options that you used when you run the auto-discovery, e.g. Schedule, OS Detection, Scan Delay, System DNS, and Custom Ports?
Run the following command and show the output:
Code: Select all
grep 'max_input_vars\|memory_limit\|max_execution_time\|max_input_time' /etc/php.ini
Re: Auto discovery failure
Posted: Wed Mar 04, 2020 1:54 pm
by drighter
; max_input_time
max_execution_time = 30
max_input_time = 60
; max_input_vars = 1000
memory_limit = 128M
Re: Auto discovery failure
Posted: Wed Mar 04, 2020 2:15 pm
by lmiltchev
Can you please answer ALL of the questions below?
How long did you wait before canceling the job? Are you scanning a very large network? Does the auto-discovery work if you try to scan a single IP address? What were the options that you used when you run the auto-discovery, e.g. Schedule, OS Detection, Scan Delay, System DNS, and Custom Ports?
We are trying to recreate the issue in-house. It's impossible to test this unless you have all of the relevant information. Thank you!
Re: Auto discovery failure
Posted: Wed Mar 04, 2020 2:54 pm
by drighter
I don’t know how long of a wait, I only check once a week. A single IP works just fine.
Re: Auto discovery failure
Posted: Wed Mar 04, 2020 3:05 pm
by lmiltchev
Please open a support ticket via our support center here:
https://support.nagios.com/tickets/
We may need to schedule a remote session in order to further troubleshoot this issue.
Re: Auto discovery failure
Posted: Wed Mar 04, 2020 3:25 pm
by tgriep
Please, login to the XI GUI and go to the Auto Discovery menu, get a screen capture of the Job showing what you have typed in the Scan Target: field.
On that same page, click on the Show Advanced Options link and show us what you have in the Scan Delay: field.
Lets say you are scanning a class b network with 65534 hosts and it takes 10 seconds per host.
The Autodiscovery would take over 7 and a half days to run.
Also, run this command as root and upload the /tmp/auto.tgz file to the post.
Code: Select all
tar cvfz /tmp/auto.tgz /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/*