diff --git a/instruction.md b/instruction.md new file mode 100644 index 0000000..cc1b76e --- /dev/null +++ b/instruction.md @@ -0,0 +1,96 @@ +# Adding a Remote Node to Monitoring + +## Prerequisites +- A remote Linux server with SSH access +- Node Exporter installed on the remote server +- Port 9100 open on the remote server's firewall + +## Step 1: Install Node Exporter on Remote VM + +SSH into your remote VM and run: + +```bash +# Download and extract Node Exporter +wget https://github.com/prometheus/node_exporter/releases/download/v1.6.1/node_exporter-1.6.1.linux-amd64.tar.gz +tar xvfz node_exporter-1.6.1.linux-amd64.tar.gz +cd node_exporter-1.6.1.linux-amd64/ + +# Create a systemd service +sudo tee /etc/systemd/system/node_exporter.service > /dev/null <