I'm setting up the production server for our NagiosXI implementation and testing different features. Sending a report via email isn't working. It works fine in our non-production server installation.
I noticed the URL has a %2F in the non-prod and not in the prod email sent out. I added this to the prod URL and it works fine. Where does this URL get build from?
Non-Prod: .....%2Fnagiosxi%2Freports%2Favailability.php%3F
Production: .....%2Fnagiosxireports%2Favailability.php%3F
Report Emails
Re: Report Emails
Can you go to Admin -> Manage System Config and confirm what is in the Program URL and External URL fields for each server? I have a feeling the prod might be missing a trailing forward slash in the Program URL.
Former Nagios employee
Re: Report Emails
That was it! I had changed from IP to DNS and took out the trailing '/' by accident.
thank you!!
thank you!!
Re: Report Emails
No problem, glad it was a quick fix. The %2F is the URL-encoded version of a forward slash. I will make a note to the devs to check for the existence of a trailing slash when building the URLs. Going to close the thread now, but feel free to open another if you need to in the future.Sbergonzi wrote:That was it! I had changed from IP to DNS and took out the trailing '/' by accident.
thank you!!
Former Nagios employee