Small issue with the Linux Configuration Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
DBAFOX
Posts: 10
Joined: Wed Apr 09, 2025 9:49 am

Small issue with the Linux Configuration Wizard

Post by DBAFOX »

Hi ,

Seem to have a small Using the Linux Configuration wizard. We are using it to config for a RHEL server (no other linux os types to test).
I can can configure a server with the NCPA wizard ,
however when I use the Linux Configuration wizard , it appears to not complete the page rendering ( I've attached a page image ) .
As you can see, incomplete and missing navigation buttons. The only thing we can do at that point, reload the page which starts the wizard over.

I know we can just use the generic NCPA wizard , but would like to just resolve this for other team members.

has anyone else experienced this ? is is a Bug and is there Fix ?

Details:
Nagios XI Version: 2024R1.4.1 running on RHEL 9.5
NCPA Version: 3.1.3 running on RHEL 8.10

Thanks,
DBFox
You do not have the required permissions to view the files attached to this post.
User avatar
lgute
Posts: 420
Joined: Mon Apr 06, 2020 2:49 pm

Re: Small issue with the Linux Configuration Wizard

Post by lgute »

Hi @DBAFOX,

Thanks for reaching out.

Would you please run the following command in a terminal session?

Code: Select all

tail -f /var/log/php-fpm/www-error.log
... then navigate to Step 2 again (or reload the inner frame) and let us know if the tail spits out any errors?
Please let us know if you have any other questions or concerns.

-Laura
DBAFOX
Posts: 10
Joined: Wed Apr 09, 2025 9:49 am

Re: Small issue with the Linux Configuration Wizard

Post by DBAFOX »

From the tail command:
[root@dshs4avssnagios ~]# tail -f /var/log/php-fpm/www-error.log
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php:979"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "Stack trace:"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#0 /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php(394): include()"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#1 /usr/local/nagiosxi/html/includes/utils-configwizards.inc.php(105): linux_server_configwizard_func()"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#2 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): make_configwizard_callback()"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#3 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): show_step3()"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#4 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): route_request()"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#5 /usr/local/nagiosxi/html/config/monitoringwizard.php(2): sg_load()"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: "#6 {main}"
[15-Apr-2025 16:11:26] WARNING: [pool www] child 866651 said into stderr: " thrown in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 979"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined array key "disk" in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 521"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "NOTICE: PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 521"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined array key "logical" in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 979"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php:979"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "Stack trace:"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#0 /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php(394): include()"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#1 /usr/local/nagiosxi/html/includes/utils-configwizards.inc.php(105): linux_server_configwizard_func()"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#2 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): make_configwizard_callback()"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#3 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): show_step3()"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#4 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): route_request()"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#5 /usr/local/nagiosxi/html/config/monitoringwizard.php(2): sg_load()"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: "#6 {main}"
[15-Apr-2025 16:16:30] WARNING: [pool www] child 866651 said into stderr: " thrown in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 979"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 871440 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined variable $not_neptune in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 871440 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined variable $not_neptune in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 871440 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined variable $not_neptune in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 868093 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/nagiosxi/html/ajaxhelper.php on line 732"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 868093 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/nagiosxi/html/ajaxhelper.php on line 733"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 852447 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined variable $not_neptune in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 852447 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined variable $not_neptune in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0"
[15-Apr-2025 16:18:27] WARNING: [pool www] child 852447 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined variable $not_neptune in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0"

the screen is now showing me something different -- a gateway timeout message (all black -- had to highlight the text to see it )


Sincerely
Darryl -- DBAFOX
You do not have the required permissions to view the files attached to this post.
DBAFOX
Posts: 10
Joined: Wed Apr 09, 2025 9:49 am

Re: Small issue with the Linux Configuration Wizard

Post by DBAFOX »

On another server -- we get to step #2 -- same visual output --
here is the tail -f command output

[root@dshs4avssnagios ~]# tail -f /var/log/php-fpm/www-error.log
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php:979"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "Stack trace:"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#0 /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php(394): include()"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#1 /usr/local/nagiosxi/html/includes/utils-configwizards.inc.php(105): linux_server_configwizard_func()"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#2 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): make_configwizard_callback()"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#3 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): show_step3()"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#4 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): route_request()"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#5 /usr/local/nagiosxi/html/config/monitoringwizard.php(2): sg_load()"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: "#6 {main}"
[15-Apr-2025 16:28:52] WARNING: [pool www] child 875437 said into stderr: " thrown in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 979"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined array key "logical" in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 525"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 525"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php:525"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "Stack trace:"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#0 /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php(394): include()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#1 /usr/local/nagiosxi/html/includes/utils-configwizards.inc.php(105): linux_server_configwizard_func()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#2 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): make_configwizard_callback()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#3 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): show_step3()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#4 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): validate_step3()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#5 /usr/local/nagiosxi/html/config/monitoringwizard.php(0): route_request()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#6 /usr/local/nagiosxi/html/config/monitoringwizard.php(2): sg_load()"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: "#7 {main}"
[15-Apr-2025 16:32:06] WARNING: [pool www] child 875121 said into stderr: " thrown in /usr/local/nagiosxi/html/includes/configwizards/linux-server/steps/step2.php on line 525"
You do not have the required permissions to view the files attached to this post.
User avatar
lgute
Posts: 420
Joined: Mon Apr 06, 2020 2:49 pm

Re: Small issue with the Linux Configuration Wizard

Post by lgute »

Hi @DBAFOX,

It is likely the PHP Fatal error's that are causing the problem. I will create an issue so the developers can take a look at it.

If it is a Gateway Timeout, there may be some issue between the XI server and the NCPA server.

Just to clarify, are you having this issue with the Linux Server wizard, the Linux Server (legacy) wizard or something else?
Please let us know if you have any other questions or concerns.

-Laura
DBAFOX
Posts: 10
Joined: Wed Apr 09, 2025 9:49 am

Re: Small issue with the Linux Configuration Wizard

Post by DBAFOX »

Hi @lgute ,

It is with the Linux Wizard (using NCPA ) . We are not using NRPE .

It happens pretty consistently. I think i know what the gateway issue is with the NCPA -- we can disregard that for now.

Thank you for your assistance, let me know if you need anything else :D

Sincerely,
DBAFox :)
User avatar
lgute
Posts: 420
Joined: Mon Apr 06, 2020 2:49 pm

Re: Small issue with the Linux Configuration Wizard

Post by lgute »

Hi @DBAFOX,

Thanks for the update. Please let us know if you could use more assistance or have any questions.
Please let us know if you have any other questions or concerns.

-Laura
Post Reply