tidb - how to solve node_exporter up timeout

832 Views Asked by At

I get this output when using tidb node_exporter up:

fatal: [[email protected]]: FAILED! => {"changed": false, "elapsed": 309, "msg": "Timeout when waiting for search string 200 OK in [email protected]:9100"}
fatal: [[email protected]]: FAILED! => {"changed": false, "elapsed": 309, "msg": "Timeout when waiting for search string 200 OK in [email protected]:9100"}
fatal: [[email protected]]: FAILED! => {"changed": false, "elapsed": 309, "msg": "Timeout when waiting for search string 200 OK in [email protected]:9100"}
fatal: [[email protected]]: FAILED! => {"changed": false, "elapsed": 309, "msg": "Timeout when waiting for search string 200 OK in [email protected]:9100"}

How would I resolve this?

1

There are 1 best solutions below

0
On
  1. make sure firewalld service is stopped or you have opened the tcp/9100 port on your target servers.
  2. check if node_exporter process is running (ps -ef | grep node_exporter)
  3. check if node_exporter service is healthy (curl http://172.17.3.226:9100/metrics)