Configuration Wizards problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Francesco
Posts: 124
Joined: Wed Oct 28, 2015 5:02 am
Location: /usr
Contact:

Configuration Wizards problem

Post by Francesco »

Hi support,
Selecting the appropriate wizard environment tab, the dashboard remains empty.
The search work propertly and selcting the uncategorized tab all configuration wizards is displayed.
Thank you
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configuration Wizards problem

Post by lmiltchev »

What is the Nagios XI version that you are currently running? Have you made any mods/tweaks to the system prior to experiencing this issue?

Have you tried "force update" of all components, wizards, and dashlets by running the commands below?

Code: Select all

cd /tmp/nagiosxi
./upgrade -f
Note: If you already removed the "original" install directory from the /tmp, you will have to re-download the tarball from here:
https://assets.nagios.com/downloads/nag ... rsions.php

If this doesn't work, start a running tail on the apache error log:

Code: Select all

tail -f /var/log/httpd/error_log
then, go to Configure > Configuration Wizards, click on the "Linux" tab, wait for a few seconds, stop the tail command by pressing Ctrl+c, and post the output on the forum.
Be sure to check out our Knowledgebase for helpful articles and solutions!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Configuration Wizards problem

Post by npolovenko »

@Francesco, You can also try to update the wizards. Please go to Admin/System Extensions(in the left column), Manage Config Wizards, and then click on 1)Check for updates 2)Install updates.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Francesco
Posts: 124
Joined: Wed Oct 28, 2015 5:02 am
Location: /usr
Contact:

Re: Configuration Wizards problem

Post by Francesco »

Hi,
Below the request data:

Nagios XI version
Nagios XI 5.4.11

I have upgrade Nagios XI from xi-2014r2.7 to 5.4.11.

The server Nagios XI can not reach the internet repo.

Below the output of error_log:

[Wed Nov 29 14:51:01 2017] [error] [client ***.***.***.***] PHP Notice: Undefined index: requires_version in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 0, referer: http://*******.local/nagiosxi/config/monitoringwizard.php
[Wed Nov 29 14:51:01 2017] [error] [client ***.***.***.***] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php on line 79, referer: http://*******.local/nagiosxi/config/monitoringwizard.php
[Wed Nov 29 14:51:01 2017] [error] [client ***.***.***.***] PHP Warning: explode() expects parameter 2 to be string, array given in /usr/local/nagiosxi/html/includes/utils-macros.inc.php on line 0, referer: http://*******.local/nagiosxi/config/monitoringwizard.php
[Wed Nov 29 14:51:01 2017] [error] [client ***.***.***.***] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/utils-macros.inc.php on line 0, referer: http://*******.local/nagiosxi/config/monitoringwizard.php

Thank you
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Configuration Wizards problem

Post by npolovenko »

@Francesco, Can you check what version of PHP you're running with the following command:

Code: Select all

php -v
And please upload the monitoringwizard.php file from the /usr/local/nagiosxi/html/config directory so that I could verify it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Francesco
Posts: 124
Joined: Wed Oct 28, 2015 5:02 am
Location: /usr
Contact:

Re: Configuration Wizards problem

Post by Francesco »

Hi npolovenko,

php version

# php -v
PHP 5.3.3 (cli) (built: Jul 3 2015 03:10:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Request file attached.

Thank you
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Configuration Wizards problem

Post by npolovenko »

@Francesco, The file looks about right. I noticed that it's using php sourceguardian. So let's check what version you have on your system. Please post the output of:

Code: Select all

 php -i | grep -i guardian 
Also, this command should show you the path to sourceguardian.ini file. Please post the contents of that file here as well.
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked