Auto Discovery Job Issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Auto Discovery Job Issues

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Auto Discovery Job Issues

Post 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?
Former Nagios employee
stephen.chontofalsky
Posts: 11
Joined: Wed Feb 10, 2016 3:25 pm

Re: Auto Discovery Job Issues

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Auto Discovery Job Issues

Post 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
stephen.chontofalsky
Posts: 11
Joined: Wed Feb 10, 2016 3:25 pm

Re: Auto Discovery Job Issues

Post by stephen.chontofalsky »

The attached screenshot is the error log after running the autodiscovery after all the above commands.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Auto Discovery Job Issues

Post 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
Former Nagios employee
stephen.chontofalsky
Posts: 11
Joined: Wed Feb 10, 2016 3:25 pm

Re: Auto Discovery Job Issues

Post by stephen.chontofalsky »

Nothing changing after running that script. Still a blank screen.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Auto Discovery Job Issues

Post 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
Former Nagios Employee.
me.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Auto Discovery Job Issues

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
stephen.chontofalsky
Posts: 11
Joined: Wed Feb 10, 2016 3:25 pm

Re: Auto Discovery Job Issues

Post 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.
Locked