Page 1 of 1

Configuration Wizards not work not save the data

Posted: Wed Nov 10, 2010 4:49 am
by mustafa1
Hello,

When I run the Configuration Wizard and make all steps and Click Apply to add your new configuration then I click the View status details => No matching services found. No data saved via the Configuration Wizard.

Note: Version Nagios XI 2009R1.3F

Code: Select all

Apache error log

[Wed Nov 10 11:31:36 2010] [error] [client 192.168.1.5] PHP Notice:  Undefined variable: parenthosts in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1347, referer: http://nagiosxi.mycompany.com/nagiosxi/config/monitoringwizard.php
[Wed Nov 10 11:31:36 2010] [error] [client 192.168.1.5] PHP Notice:  Undefined variable: parenthosts in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1348, referer: http://nagiosxi.mycompany.com/nagiosxi/config/monitoringwizard.php
[Wed Nov 10 11:31:36 2010] [error] [client 192.168.1.5] PHP Notice:  Undefined variable: hostgroups in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1351, referer: http://nagiosxi.mycompany.com/nagiosxi/config/monitoringwizard.php
[Wed Nov 10 11:31:36 2010] [error] [client 192.168.1.5] PHP Notice:  Undefined variable: hostgroups in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1352, referer: http://nagiosxi.mycompany.com/nagiosxi/config/monitoringwizard.php
[Wed Nov 10 11:31:36 2010] [error] [client 192.168.1.5] PHP Notice:  Undefined variable: servicegroups in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1355, referer: http://nagiosxi.mycompany.com/nagiosxi/config/monitoringwizard.php
[Wed Nov 10 11:31:36 2010] [error] [client 192.168.1.5] PHP Notice:  Undefined variable: servicegroups in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1356, referer: http://nagisoxi.mycomapny.com/nagiosxi/config/monitoringwizard.php
Thanks

Re: Configuration Wizards not work not save the data

Posted: Wed Nov 10, 2010 11:52 am
by tonyyarusso
Does this happen with all of the wizard types for you, or just some?

Re: Configuration Wizards not work not save the data

Posted: Thu Nov 11, 2010 1:08 am
by mustafa1
Yes, this happen with all of the wizard types.

Thanks

Re: Configuration Wizards not work not save the data

Posted: Thu Nov 11, 2010 11:22 am
by mguthrie
I'm wondering if the permissions in your configuration directory may have gotten off, so the data isn't actually getting written to the files. Try using the Write Config Tool in the Core Config Manager to manually write out your configurations to the files and see if you get any errors. If for some reason it gives you a permissions issue, run the following script.

/usr/local/nagiosxi/scripts/reset_config_perms