Debugging home made Configuration Wizards
Posted: Sat Apr 10, 2010 11:46 pm
I'm in the process of creating some Configuration Wizards.
When I am initially testing what I've created I upload it to the /usr/local/nagiosxi/html/includes/configwizards/<wizardname>/ location.
I've noticed sometimes that if there is an error in my wizard the Configure window appears blank.
Even after deleting the wizard sometimes the screen remains blank. Even after restarting the XI server OS the problem persists. Then it seems after about 5 minutes the problem is corrected.
This doesn't happen every time. Most times if the config wizard has errors I get the blank screen, fix the problem and upload the wizard and everything returns to normal.
Question 1) Is there any log file I can check that will identify what is causing my wizard to make XI produce this behaviour?
Question 2) Is there some command I can run to force XI to re-scan the wizards folder after I completely delete the faulty wizard I've created?
Thanks
Troy
When I am initially testing what I've created I upload it to the /usr/local/nagiosxi/html/includes/configwizards/<wizardname>/ location.
I've noticed sometimes that if there is an error in my wizard the Configure window appears blank.
Even after deleting the wizard sometimes the screen remains blank. Even after restarting the XI server OS the problem persists. Then it seems after about 5 minutes the problem is corrected.
This doesn't happen every time. Most times if the config wizard has errors I get the blank screen, fix the problem and upload the wizard and everything returns to normal.
Question 1) Is there any log file I can check that will identify what is causing my wizard to make XI produce this behaviour?
Question 2) Is there some command I can run to force XI to re-scan the wizards folder after I completely delete the faulty wizard I've created?
Thanks
Troy