Page 1 of 1

v5- autodiscovery issues

Posted: Tue Sep 29, 2015 12:34 pm
by costanza2k1
We ran an auto discovery and found 37 new hosts without an issue, when clicking on 'next' to define the hosts all we're getting is a black screen. Any thoughts/suggestions?

Re: v5- autodiscovery issues

Posted: Tue Sep 29, 2015 1:29 pm
by lmiltchev
Run the following command and show the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log

Re: v5- autodiscovery issues

Posted: Wed Sep 30, 2015 5:03 pm
by costanza2k1
Sorry it took so long, I didn't have proper rights to our server:

Code: Select all

[Wed Sep 30 15:01:56.724823 2015] [:error] [pid 25271] [client 10.1.20.32:64753] PHP Fatal error:  Call to undefined function autodiscovery_component_get_device_info() in /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php on line 313, referer: http://xxx.xxx.xxx.xxx/nagiosxi//config/monitoringwizard.php?update=1&nextstep=2&wizard=autodiscovery&job=o9qjvf&nsp=4762206c8718c1a3cfdf216902333e61&show=all
You have new mail in /var/spool/mail/root

Re: v5- autodiscovery issues

Posted: Wed Sep 30, 2015 9:34 pm
by jdalrymple
Was this a new install of XI5 or an upgrade? Can you go under Admin --> Manage Components and make sure your autodiscovery component is at the most current version? We need you at 2.2.1

On my clean install XI5 box there is no reference to that function.

Re: v5- autodiscovery issues

Posted: Thu Oct 01, 2015 9:41 am
by costanza2k1
It was an upgrade and the component is at 2.2.1

Re: v5- autodiscovery issues

Posted: Thu Oct 01, 2015 9:59 am
by jolson
Would you please check on the md5 of the files mentioned for me? The proper sum should be 2bc721731c7c2973d0918ba637e9efdd and 2f82bfab0c09cbe26a7b2c625c78328b respectively.

Code: Select all

md5sum /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php
md5sum /usr/local/nagiosxi/html/config/monitoringwizard.php

Re: v5- autodiscovery issues

Posted: Wed Oct 07, 2015 1:20 pm
by costanza2k1

Code: Select all

md5sum /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php
32dd7eedbe625186a67de6ee95cdad32  /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php

[root@nagiosxi ~]# md5sum /usr/local/nagiosxi/html/config/monitoringwizard.php
7d4689e6931c6c5bdb55e97e41f301fb  /usr/local/nagiosxi/html/config/monitoringwizard.php

Re: v5- autodiscovery issues

Posted: Wed Oct 07, 2015 3:21 pm
by jolson
I'd like you to backup your old files and try using the ones I've attached to this post.

Code: Select all

mv /usr/local/nagiosxi/html/config/monitoringwizard.php /usr/local/nagiosxi/html/config/monitoringwizard.php.back
mv /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php.old

Re: v5- autodiscovery issues

Posted: Tue Oct 13, 2015 4:04 pm
by costanza2k1
This worked! This can be closed.