Report Emails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Report Emails

Post by Sbergonzi »

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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Report Emails

Post by tmcdonald »

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
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Re: Report Emails

Post by Sbergonzi »

That was it! I had changed from IP to DNS and took out the trailing '/' by accident.

thank you!!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Report Emails

Post by tmcdonald »

Sbergonzi wrote:That was it! I had changed from IP to DNS and took out the trailing '/' by accident.

thank you!!
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.
Former Nagios employee
Locked