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
Debugging home made Configuration Wizards
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Debugging home made Configuration Wizards
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Debugging home made Configuration Wizards
I'll ask about this on Monday.
Re: Debugging home made Configuration Wizards
This is probably due to PHP errors, which aren't displayed in the browser. You'll find them in the Apache error logs. I just keep a watch on the Apache logs when developing new stuff with this command:
Code: Select all
tail -f /var/log/httpd/error_log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Debugging home made Configuration Wizards
Awesome, this was exactly what I need.
I deleted an important character from a config wizard and when I went to the monitoring wizard page the error showed up in my putty session pointing out the exact section that had the error.
Thanks very much.
I deleted an important character from a config wizard and when I went to the monitoring wizard page the error showed up in my putty session pointing out the exact section that had the error.
Thanks very much.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.