Core Config Manager Access Missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: Core Config Manager Access Missing

Post by mcwhorts »

I can now gain access to Core Config Manager but I also noticed that I can't get into the Configuration Wizards. Here are some of the errors I'm seeing.

[Wed Oct 24 16:50:20 2012] [error] [client 10.35.43.117] PHP Fatal error: Cannot redeclare linux_server_configwizard_get_distro_icon() (previously declared in /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php:885) in /usr/local/nagiosxi/html/includes/configwizards/testlinuxserver/testlinuxserver.inc.php on line 675, referer: http://littlebro/nagiosxi/config/
[Wed Oct 24 16:50:38 2012] [error] [client 10.35.43.117] PHP Fatal error: Cannot redeclare linux_server_configwizard_get_distro_icon() (previously declared in /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php:885) in /usr/local/nagiosxi/html/includes/configwizards/testlinuxserver/testlinuxserver.inc.php on line 675, referer: http://littlebro/nagiosxi/config/
[Wed Oct 24 16:50:51 2012] [error] [client 10.35.43.117] PHP Fatal error: Cannot redeclare linux_server_configwizard_get_distro_icon() (previously declared in /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php:885) in /usr/local/nagiosxi/html/includes/configwizards/testlinuxserver/testlinuxserver.inc.php on line 675, referer: http://littlebro/nagiosxi/config/
[Wed Oct 24 16:51:11 2012] [error] [client 10.35.43.117] PHP Fatal error: Cannot redeclare linux_server_configwizard_get_distro_icon() (previously declared in /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php:885) in /usr/local/nagiosxi/html/includes/configwizards/testlinuxserver/testlinuxserver.inc.php on line 675, referer: http://littlebro/nagiosxi/config/
[Wed Oct 24 16:51:12 2012] [error] [client 10.35.43.117] PHP Fatal error: Cannot redeclare linux_server_configwizard_get_distro_icon() (previously declared in /usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php:885) in /usr/local/nagiosxi/html/includes/configwizards/testlinuxserver/testlinuxserver.inc.php on line 675, referer: http://littlebro/nagiosxi/config/

any ideas?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Core Config Manager Access Missing

Post by mguthrie »

Your custom wizard appears to be breaking all of them because the function names aren't unique to that wizard:
/usr/local/nagiosxi/html/includes/configwizards/testlinuxserver/testlinuxserver.inc.php on line 675,
Remove that directory to fix the current install.

Take a look at our documentation on writing custom wizards. Function names in the .inc.php file need to be named according to the wizard name and they have to be unique since they're in the global scope of XI.

http://assets.nagios.com/downloads/nagi ... tomwizards
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: Core Config Manager Access Missing

Post by mcwhorts »

Thanks for all your help. Removing the custom wizard did the trick. Sorry for the stupid questions. I'm still learning. You guys are awesome. :)
Locked