Closed juame closed 6 years ago
Maybe this is caused by --web.listen-address=
in OPTIONS of /etc/sysconfig/node_exporter
(added by us).
Sorry, I missed that issue. I don't know, why I did not get any email from github. Anyway.
I am pretty sure that it ought to work before network comes up if it listens on 0.0.0.0 (i.e. all interfaces). If am reluctant to add After=network-online.target
, because I feel it might not be necessary.
You can add that service config part in /etc/systemd/system/node_exporter.service.d/01-after-network.conf
so that you don't have to worry about updates.
Please reopen (or comment), if other are having the same problem!
Thanks for the answer and providing a way how to configure this, @ibotty. I‘m going to configure it like you proposed.
Hi
The unit always failed to start during boot on RHEL7.4:
After adding
After=network.target
to/usr/lib/systemd/system/node_exporter.service
it seems to start at boot:Does anyone else having the same issue? Thanks!