Alert email contains link using wrong URL base

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
mcouillard
Posts: 4
Joined: Sun Mar 01, 2015 2:30 pm

Alert email contains link using wrong URL base

Post by mcouillard »

Alerts via email (SMTP) are working fine, except the link inside the email points to the wrong server address. I've given Apache the right ServerName, but that didn't help. Single instance, local machine, version 2015r2.2.

http://127.0.0.1/var/www/html/nagioslog ... erts/show/...

Yet the way we access the site is more like this:

http://192.168.123.123/nagioslogserver/ ... /dashboard
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alert email contains link using wrong URL base

Post by jolson »

You will need to change the 'Cluster Hostname' setting to the appropriate IP/hostname of your Nagios Log Server machine(s).
2015-08-21 11_33_18-Global Settings • Nagios Log Server - Firefox Developer Edition.png
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
mcouillard
Posts: 4
Joined: Sun Mar 01, 2015 2:30 pm

Re: Alert email contains link using wrong URL base

Post by mcouillard »

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

Re: Alert email contains link using wrong URL base

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked