{"id":21332399,"url":"https://github.com/adamkoro/node-exporter-ansible","last_synced_at":"2025-03-16T01:10:01.150Z","repository":{"id":221948748,"uuid":"615305307","full_name":"adamkoro/node-exporter-ansible","owner":"adamkoro","description":"Deploy Prometheus node exporter with Ansible","archived":false,"fork":false,"pushed_at":"2024-05-05T12:16:57.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T13:51:55.703Z","etag":null,"topics":["ansible","monitoring","node-exporter","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamkoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-17T11:58:09.000Z","updated_at":"2024-05-05T12:17:00.000Z","dependencies_parsed_at":"2024-02-11T10:30:42.320Z","dependency_job_id":"59a1296a-4092-4d04-bbeb-43f1cb5fbd8a","html_url":"https://github.com/adamkoro/node-exporter-ansible","commit_stats":null,"previous_names":["adamkoro/node-exporter-ansible"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamkoro%2Fnode-exporter-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamkoro%2Fnode-exporter-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamkoro%2Fnode-exporter-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamkoro%2Fnode-exporter-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamkoro","download_url":"https://codeload.github.com/adamkoro/node-exporter-ansible/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809886,"owners_count":20351407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","monitoring","node-exporter","prometheus"],"created_at":"2024-11-21T22:47:49.392Z","updated_at":"2025-03-16T01:10:01.124Z","avatar_url":"https://github.com/adamkoro.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-exporter-ansible\n\nDeploy Prometheus node exporter with Ansible\n\n**Only works on arm64 and amd64 architecture.**\n\n## Requirements\n\n- Ansible\n\n## Usage\n\nClone repository\n\n```bash\ngit clone https://github.com/adamkoro/node-exporter-ansible.git\ncd node-exporter-ansible\n```\n\n### Configuration\n\nCopy `inventory-example.yaml` to `inventory.yaml` and edit it.\n\n```bash\ncp inventory-example.yaml inventory.yaml\n```\n\n#### inventory.yaml variables\n`TODO` update\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `ansible_user` | `root` | Username which Ansible will use to connect via SSH |\n| `ansible_ssh_private_key_file` | `~/.ssh/id_rsa` | Path to SSH private key |\n| `ansible_port` | `22` | SSH port |\n| `ansible_ssh_extra_args` | `-o StrictHostKeyChecking=no` | SSH extra args |\n| `node_exporter_version` | `1.7.0` | Version of the Node Exporter |\n| `node_exporter_download_url` | `https://github.com/prometheus/node_exporter/releases/download/v{{ node_exporter_version }}` | URL to download Node Exporter |\n| `smart_metrics_enabled` | `true` | Disk S.M.A.R.T metrics collector enable |\n| `smart_metrics_download_url` | `https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/master/smartmon.sh` | Disk S.M.A.R.T metrics collector script url |\n| `nvme_metrics_enabled` | `true` | NVME SSD metrics collector enable |\n| `nvme_metrics_download_url` | `https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/master/nvme_metrics.sh` | NVME SSD metrics collector script url |\n| `lvm_metrics_enabled` | `true` | LVM metrics collector enable |\n| `lvm_metrics_download_urls` | `https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/master/lvm-prom-collector` | LVM metrics collector script url |\n| `zfs_metrics_enabled` | `true` | ZFS metrics collector enable |\n| `zfs_metrics_download_url` | `https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/master/zfs_zpool.sh` | ZFS metrics collector script url |\n\n### Install\n\n```bash\nansible-playbook -i inventory.yaml playbooks/install.yaml\n```\n\n### Uninstall\n\n```bash\nansible-playbook -i inventory.yaml playbooks/reset.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamkoro%2Fnode-exporter-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamkoro%2Fnode-exporter-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamkoro%2Fnode-exporter-ansible/lists"}