Skip to content

Add a "hostname" <meta> tag to the page header #18518

@bctiemann

Description

@bctiemann

NetBox version

v4.2.2

Feature type

Change to existing functionality

Proposed functionality

To aid in monitoring and troubleshooting, add a <meta> tag to the <head> of the base HTML page reflecting the value of settings.HOSTNAME, which was removed in NetBox v4.0.

<meta name="hostname" content="{{ settings.HOSTNAME }}" />

Use case

Internal monitoring of NetBox instances in the cloud use the hostname to verify ingress routing. It is not necessary to show the hostname visibly on the login page or other pages, but a <meta> tag that can be machine-read is a good solution.

Database changes

N/A

External dependencies

N/A

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions