{"id":21976872,"url":"https://github.com/stuartapp/ansible-dnsmasq_exporter","last_synced_at":"2025-08-23T06:38:49.330Z","repository":{"id":86221844,"uuid":"335274923","full_name":"StuartApp/ansible-dnsmasq_exporter","owner":"StuartApp","description":"Ansible role to install dnsmasq exporter for Prometheus","archived":false,"fork":false,"pushed_at":"2021-02-02T17:10:58.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":50,"default_branch":"main","last_synced_at":"2025-06-04T18:54:51.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StuartApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-02-02T12:04:09.000Z","updated_at":"2021-02-02T17:11:00.000Z","dependencies_parsed_at":"2023-03-08T00:45:24.882Z","dependency_job_id":null,"html_url":"https://github.com/StuartApp/ansible-dnsmasq_exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StuartApp/ansible-dnsmasq_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartApp%2Fansible-dnsmasq_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartApp%2Fansible-dnsmasq_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartApp%2Fansible-dnsmasq_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartApp%2Fansible-dnsmasq_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StuartApp","download_url":"https://codeload.github.com/StuartApp/ansible-dnsmasq_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartApp%2Fansible-dnsmasq_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745679,"owners_count":24813521,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-29T16:12:31.043Z","updated_at":"2025-08-23T06:38:49.296Z","avatar_url":"https://github.com/StuartApp.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"dnsmasq_exporter Ansible role\n=========\nThis role will install and configure Google's [dnsmasq_exporter](https://github.com/google/dnsmasq_exporter).\n\n## Usage\n\nUse it in a playbook as follows:\n```yaml\n- hosts: all\n  roles:\n    - stuart.dnsmasq_exporter\n```\n\nAll variables which can be overridden are stored in [defaults/main.yml](defaults/main.yml) file as well as in table below.\n\n| Name           | Default Value | Description                        |\n| -------------- | ------------- | -----------------------------------|\n|`dnsmasq_exporter_pkg_location`|none|URL where the executable can be downloaded from. PLEASE SPECIFY!|\n|`dnsmasq_exporter_install_dir`|\"/usr/local/bin\"|Base dir where the exporter will be placed|\n|`dnsmasq_exporter_svc_enabled`|true|Enable systemd service for the exporter at boot|\n|`dnsmasq_exporter_listen`|\"localhost:9153\"|`IP:PORT` to bind|\n|`dnsmasq_exporter_system_user`|\"prometheus\"|User that will run the exporter|\n|`dnsmasq_exporter_system_group`|\"prometheus\"|Group that will run the exporter|\n|`dnsmasq_exporter_consul_discovery_enabled`|true|If true, it will enable service discovery through Consul|\n|`dnsmasq_exporter_leases_path`|\"/var/lib/misc/dnsmasq.leases\"|Path to dnsmasq DHCP lease file|\n\nAll the metrics are exported `http://{{dnsmasq_exporter_listen}}/metrics`\n\n## Limitations\n\nIt currently supports only a binary served from S3 as the mean of installation\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartapp%2Fansible-dnsmasq_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuartapp%2Fansible-dnsmasq_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartapp%2Fansible-dnsmasq_exporter/lists"}