-
Couldn't load subscription status.
- Fork 2
Open
Description
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) ?