# Configuring hostname for Rancher HA containers

**URL:** <https://forums.suse.com/t/configuring-hostname-for-rancher-ha-containers/3983>\
**Category:** Rancher 1.x\
**Created:** [September 12, 2016, 8:35pm UTC](https://forums.suse.com/t/configuring-hostname-for-rancher-ha-containers/3983 "2016-09-12T20:35:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnrengelman](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/johnrengelman/32/134_2.png) [@johnrengelman](https://forums.suse.com/u/johnrengelman)\
**Post date:** [September 12, 2016, 8:35pm UTC](https://forums.suse.com/t/configuring-hostname-for-rancher-ha-containers/3983/1 "2016-09-12T20:35:26Z")

</div>

It appears that there is no hostname passed to the rancher-ha containers. This causes issues with monitoring in an HA setup as the metrics are output with the container ID and no way to consolidate by physical host.

Is there a way to configure the rancher HA containers (all of them) to use the host’s hostname or the hostname passed to the primary `rancher-ha` container?
