Open saiharshitachava opened 5 years ago
Same issue here :( This is the error for the node-exporter container :
invalid mount config for type "bind": bind source path does not exist: /etc/hostname
Any solution?
@jonathanmf that depends on your operating system, if it doesn't store the hostname in /etc/hostname
then it won' be able to mount it.
@saiharshitachava if you query prometheus for node_meta
what do you get?
In my case I forgot to add this in the command..- '--collector.textfile.directory=/etc/node-exporter/'
Its working now
I was trying to use node-exporter customized image and gave the below configs and deployed. But I dint see the data populated in the Swarm Node overview dashboard
nodeexporter_eng: image: stefanprodan/swarmprom-node-exporter:v0.16.0 environment:
Hostname of the first woker node!
networks: