Email-Template definition %url% variable

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Sven.Z
Posts: 20
Joined: Thu Aug 04, 2016 2:30 am

Email-Template definition %url% variable

Post by Sven.Z »

Hello,
i testing the Nagios Logserver and i have change the IP Address after install.
When i use the %url% in my Email-Template then is there my old IP in the link where can i find the %url% Variable or how can i fix it ?
I need the actually IP -Address in this %url%

greetings
Sven
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email-Template definition %url% variable

Post by hsmith »

How long has it been since you changed the IP?
Former Nagios Employee.
me.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Email-Template definition %url% variable

Post by rkennedy »

I just tested this, and it's because your old IP is set in the Administration -> Global Settings -> Interface URL field. Adjust it here, and your alerts will then be updated.
Former Nagios Employee
Sven.Z
Posts: 20
Joined: Thu Aug 04, 2016 2:30 am

Re: Email-Template definition %url% variable

Post by Sven.Z »

Thx for this fast answer it works !
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email-Template definition %url% variable

Post by hsmith »

Did you need anything else, or are we good to close this thread?
Former Nagios Employee.
me.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Email-Template definition %url% variable

Post by tmcdonald »

Closing due to inactivity. Please let me know via PM if you would like this re-opened.
Former Nagios employee
Locked