[ZBX-5500] localhost in url in lists Created: 2012 Aug 28  Updated: 2017 May 30  Resolved: 2012 Aug 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Peter Jansen Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-5534 Problems with sorting Closed

 Description   

When there is a list in the zabbix frontend, and I want to go to the second page, the url is not the hostname but just "localhost", which will not work. When I replace localhost with the correct name, it works.

zabbix url: http://localhost/triggers.php?groupid=24&hostid=10129&sid=bd4eb67a219479ba&page=2

correct url: http://zabbix.internebula.org/triggers.php?groupid=24&hostid=10129&sid=bd4eb67a219479ba&page=2

Maybe this is a config file I forget to change? Searched /etc/zabbix and subfolders for "localhost" already.



 Comments   
Comment by richlv [ 2012 Aug 28 ]

hmm. wondering whether this is something zabbix sets or apache ServerName ?

Comment by Peter Jansen [ 2012 Aug 29 ]

Using Nginx, and servername was indeed localhost. After fixing that it works.

Thanks for your help.

Comment by Peter Jansen [ 2012 Aug 29 ]

Http server (Nginx) servername was wrong. Not a Zabbix problem.

Comment by richlv [ 2012 Aug 29 ]

reopen to set proper resolution

Generated at Tue Aug 05 08:47:59 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.