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.
Installing new wizard breaks GUI
Installing new wizard breaks GUI
You do not have the required permissions to view the files attached to this post.
Re: Installing new wizard breaks GUI
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.
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!
Re: Installing new wizard breaks GUI
Yes, that was the problem. I did not know how 'deep' the renaming should go. Thanks a lot!
Re: Installing new wizard breaks GUI
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?
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!