v5- autodiscovery issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

v5- autodiscovery issues

Post 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?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: v5- autodiscovery issues

Post by lmiltchev »

Run the following command and show the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: v5- autodiscovery issues

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: v5- autodiscovery issues

Post 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.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: v5- autodiscovery issues

Post by costanza2k1 »

It was an upgrade and the component is at 2.2.1
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: v5- autodiscovery issues

Post 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
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: v5- autodiscovery issues

Post 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
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: v5- autodiscovery issues

Post 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
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: v5- autodiscovery issues

Post by costanza2k1 »

This worked! This can be closed.
Locked