TheDevOpsHub / container-labs

🐳 DevOps practice project designed to set up and manage multiple labs environments using Docker containers
3 stars 1 forks source link

BUG: Install Node Exporter on Ubuntu VMs #5

Closed tungbq closed 1 month ago

tungbq commented 1 month ago

TASK [node-exporter : Ensure Node Exporter service is enabled and started] ***** fatal: [ubuntu-vm1]: FAILED! => {"changed": false, "cmd": "/usr/bin/systemctl", "msg": "System has not been booted with systemd as init system (PID 1). Can't operate.\nFailed to connect to bus: Host is down", "rc": 1, "stderr": "System has not been booted with systemd as init system (PID 1). Can't operate.\nFailed to connect to bus: Host is down\n", "stderr_lines": ["System has not been booted with systemd as init system (PID 1). Can't operate.", "Failed to connect to bus: Host is down"],

tungbq commented 1 month ago

Installed node exporter OK: image

Prometheus data OK: image

Node Exporter Service up and running on ubuntu1 and ubuntu2: image