Auto discovery failure
Auto discovery failure
autodiscovery never finishes and if we click cancel the job is deleted.
Re: Auto discovery failure
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?
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
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_loghttps://support.nagios.com/kb/article.php?id=611
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto discovery failure
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.
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
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?
This is the version of the Auto-Discovery component. What is the version of the wizard?Auto Discovery Version: 2.2.6
Can you PM me your latest profile (Admin > System Config > System Profile > Download Profile), and the /etc/php.ini file?Check for updates usually just hangs. We have to update from the shell.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto discovery failure
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:
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.iniBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto discovery failure
; max_input_time
max_execution_time = 30
max_input_time = 60
; max_input_vars = 1000
memory_limit = 128M
max_execution_time = 30
max_input_time = 60
; max_input_vars = 1000
memory_limit = 128M
Re: Auto discovery failure
Can you please answer ALL of the questions below?
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!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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto discovery failure
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
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.
https://support.nagios.com/tickets/
We may need to schedule a remote session in order to further troubleshoot this issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto discovery failure
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.
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/*Be sure to check out our Knowledgebase for helpful articles and solutions!