Skip to content

Unable to distinguish different Metwork host in dashboard. #64

Description

@dearith

I want to monitor 2 different Metwork host in a single mfadmin module.

All is fine, except in the Grafana dashboards the host list contains only 2 items 'all' and 'localhost'.

a MFDATA and a MFADMIN are running on host1
a MFDATA is running on host2

My [admin] sections of config.ini file are:

host1

[admin]
# null => no monitoring
# hostname=null
hostname=localhost
# influxdb_http_port=18086

host2

[admin]
# null => no monitoring
# hostname=null
hostname=host2
# influxdb_http_port=18086

The cause seems to come from the variable HOSTNAME which contains the same value on the 2 hosts:

HOSTNAME=localhost.localdomain

Is it possible not to use HOSTNAME as host in Grafana, but use the hostname value of the config.ini (or another way to distinguish different hosts) ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions