Nagios XI v 5.63 / 5.65
Auto-discovery v 1.4.2
When I run new Auto-Discovery scan, it does not detect any services
I tried with custom ports empty and with 1-1000 value - no difference.
When I look on results from older scans still saved (from 2016) I see that all services are detected and listed
Is there any tricks to detect services on newer versions of XI when running auto-discovery wizard?
Thank you
Auto-Discovery job does not return any services
Auto-Discovery job does not return any services
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Auto-Discovery job does not return any services
Hi,
So it was working in 5.63 and then stopped when you upgraded to 5.65. Is this correct? Let's check the permission on the auto discovery folder and post the output to the thread:
Can your run the following tail command and then attempt to run the Auto-Discovery and post the output. Thanks.
So it was working in 5.63 and then stopped when you upgraded to 5.65. Is this correct? Let's check the permission on the auto discovery folder and post the output to the thread:
Code: Select all
cd /usr/local/nagiosxi/html/includes/components/autodiscovery
ls -l
Code: Select all
tail -f /var/log/httpd/*error_log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto-Discovery job does not return any services
It does not work on either 5.63 (Production) or 5.65 (Test) systems.
Test systems has a job from 2016; results of that job show services.
cd /usr/local/nagiosxi/html/includes/components/autodiscovery
ls -l
tail command did not produce any errors.
also this post describe the same problem (I do not know how to check nmap output) https://support.nagios.com/forum/viewto ... =6&t=35396
suggestion to update nmap probably not going to work as my version is
UPDATE:
Removing Exclusions solves the problem of detecting services. But the issue is that I have to use exclusions for my scans.
Test systems has a job from 2016; results of that job show services.
cd /usr/local/nagiosxi/html/includes/components/autodiscovery
ls -l
Code: Select all
-rw-r--r--. 1 nagios nagios 12800 Aug 27 13:15 autodiscovery.inc.php
-rw-r--r--. 1 nagios nagios 2329 Aug 27 13:15 CHANGES.TXT
drwxr-xr-x. 2 nagios nagios 30 Feb 5 2016 images
-rw-r--r--. 1 nagios nagios 39584 Aug 27 13:15 index.php
drwxrwxrw-. 2 nagios nagios 4096 Sep 10 11:45 jobs
-rw-r--r--. 1 nagios nagios 1381 Nov 5 2018 sanity.sh
drwxr-xr-x. 2 nagios nagios 74 Feb 5 2016 scriptsalso this post describe the same problem (I do not know how to check nmap output) https://support.nagios.com/forum/viewto ... =6&t=35396
suggestion to update nmap probably not going to work as my version is
Code: Select all
nmap-6.47-1.x86_64UPDATE:
Removing Exclusions solves the problem of detecting services. But the issue is that I have to use exclusions for my scans.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Auto-Discovery job does not return any services
Hello,
Please run the following command as root and then try running the Autodiscovery again with exclusions and let me know if it resolves the issue.
If it fails again, can you post a screen shot for us to review. Thanks.
Please run the following command as root and then try running the Autodiscovery again with exclusions and let me know if it resolves the issue.
Code: Select all
chmod g+w /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!