Page 2 of 3
Re: Auto Discovery Job Issues
Posted: Tue Feb 23, 2016 1:05 pm
by lmiltchev
Go to Admin->Manage Components, and check what is the version of the "Auto-Discovery" component that you are currently using. It should be listed in the "Core Components" section.
Do you see a newer version available for a download when you click on "Check for Updates" under the "Manage Components" page?
Re: Auto Discovery Job Issues
Posted: Tue Feb 23, 2016 1:06 pm
by tmcdonald
Can you tell us a little more about how this XI system was installed? Was it a pre-built VM or did you install the OS then do a source install? For that matter, what XI version is this?
Re: Auto Discovery Job Issues
Posted: Tue Feb 23, 2016 6:15 pm
by stephen.chontofalsky
It was your pre-built VM that we're using. The XI version is 5.2.3 (which I understand there is an update for now) and the auto-discover component version is 2.04 and it does not find a more up to date version if I search for one.
Re: Auto Discovery Job Issues
Posted: Wed Feb 24, 2016 2:46 pm
by ssax
Please run these commands first and then get the blank page to show up again and then send us the full output so that we can resolve any errors:
Code: Select all
ls -ld /usr/local/nagiosxi/html/includes/components/autodiscovery/
ls -lR /usr/local/nagiosxi/html/includes/components/autodiscovery/
tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Re: Auto Discovery Job Issues
Posted: Fri Feb 26, 2016 3:35 pm
by stephen.chontofalsky
The attached screenshot is the error log after running the autodiscovery after all the above commands.
Re: Auto Discovery Job Issues
Posted: Mon Feb 29, 2016 11:56 am
by tmcdonald
Interesting. Please run the following:
Code: Select all
grep -R "function get_autodiscovery_type" /usr/local/nagiosxi/html
ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php
Re: Auto Discovery Job Issues
Posted: Mon Mar 07, 2016 9:43 am
by stephen.chontofalsky
Nothing changing after running that script. Still a blank screen.
Re: Auto Discovery Job Issues
Posted: Mon Mar 07, 2016 5:09 pm
by hsmith
Can we please get this information from the previous posts?
ssax wrote:ls -ld /usr/local/nagiosxi/html/includes/components/autodiscovery/
ls -lR /usr/local/nagiosxi/html/includes/components/autodiscovery/
tmcdonald wrote:grep -R "function get_autodiscovery_type" /usr/local/nagiosxi/html
ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php
Re: Auto Discovery Job Issues
Posted: Mon Mar 07, 2016 5:10 pm
by lmiltchev
I believe tmcdonald wanted to see the output of the two commands:
Code: Select all
grep -R "function get_autodiscovery_type" /usr/local/nagiosxi/html
ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php
Re: Auto Discovery Job Issues
Posted: Tue Mar 08, 2016 2:02 pm
by stephen.chontofalsky
Just wanted to let you all know that this morning we spun up a new VM with XI 5.2.5 on it and autodiscovery is working.