Setup the Node Exporter
The Node Exporter is the server that exposes the Prometheus metrics of the host machine and it is running in which it shows the machine’s file system, storage, ram, networking devices, processor and memory usages and others too.
To start the Node Exporter on port 9100(default port), use the below command using the Docker..
$ docker run -d -p 9100:9100 -v "/proc:/host/proc" -v "/sys:/host/sys" -v "/:/rootfs" --net="host" prom/node-exporter
The Options used for Node Exporter are.
As our observation, the Prometheus server can be used to start scraping of Node Exporter automatically.
http://192.168.1.226:9090/status