Installing new wizard breaks GUI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
corkyman
Posts: 120
Joined: Wed Jul 13, 2016 12:58 pm

Installing new wizard breaks GUI

Post by corkyman »

I installed the new wizard using Admin -> Manage Config Wizards and received The website cannot display the page right after an upload. The Admin functions would not work after that. I see the wizard's directories are installed fine in /usr/local/nagiosxi/html/includes/configwizards. When I remove the wizard's directory the GUI starts working again.
Even if there is a problem with the wizard there should be a meaningful error displayed.

I created the new wizard by downloading the existing linux_snmp wizard and updating the files as appropriate. Basically, I renamed it to tp_linux_snmp and also renamed the appropriate files. This was done just as a test and I an going to update the code when this test is working. I uploaded the zipped wizard.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Installing new wizard breaks GUI

Post by tgriep »

It looks like you didn't update the settings in the tp_linux_snmp.inc.php file for the configwizard name, version, etc..
Try editing that file and change those settings and see if that fixes it for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
corkyman
Posts: 120
Joined: Wed Jul 13, 2016 12:58 pm

Re: Installing new wizard breaks GUI

Post by corkyman »

Yes, that was the problem. I did not know how 'deep' the renaming should go. Thanks a lot!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Installing new wizard breaks GUI

Post by tgriep »

Your welcome. When the list of wizards are created, it looks in the files and if there is a duplicate name, that would cause the error you are seeing.
Is it alright to mark the post as solved and lock it up?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked