Prometheus Node Exporter on non default port
To run Prometheus Node Exporter on custom port, use
/usr/local/bin/node_exporter --web.listen-address=:9101
Here is systemctl service script i used
[root@cdn 1945]# cat /etc/systemd/system/node_exporter.service [Unit] Description=Node Exporter Wants=network-online.target After=network-online.target [Service] User=node_exporter Group=node_exporter Type=simple ExecStart=/usr/local/bin/node_exporter --web.listen-address=:9101 [Install] WantedBy=multi-user.target [root@cdn 1945]#
Related Posts