{"id":13588254,"url":"https://github.com/galexrt/container-node_exporter-textfiles","last_synced_at":"2025-09-01T12:37:47.439Z","repository":{"id":44597922,"uuid":"113927437","full_name":"galexrt/container-node_exporter-textfiles","owner":"galexrt","description":"Container Image for easily running textfile exporter scripts to be collected by the prometheus/node_exporter.","archived":false,"fork":false,"pushed_at":"2025-07-31T15:18:47.000Z","size":105,"stargazers_count":18,"open_issues_count":2,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T18:53:28.446Z","etag":null,"topics":["docker","kubernetes","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Smarty","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/galexrt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-12-12T01:22:56.000Z","updated_at":"2025-07-31T15:18:48.000Z","dependencies_parsed_at":"2023-02-14T17:15:34.428Z","dependency_job_id":"6c3ad359-636d-4d79-b619-839adff25af1","html_url":"https://github.com/galexrt/container-node_exporter-textfiles","commit_stats":null,"previous_names":[],"tags_count":266,"template":false,"template_full_name":null,"purl":"pkg:github/galexrt/container-node_exporter-textfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galexrt%2Fcontainer-node_exporter-textfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galexrt%2Fcontainer-node_exporter-textfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galexrt%2Fcontainer-node_exporter-textfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galexrt%2Fcontainer-node_exporter-textfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/galexrt","download_url":"https://codeload.github.com/galexrt/container-node_exporter-textfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galexrt%2Fcontainer-node_exporter-textfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273123929,"owners_count":25049915,"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-09-01T02:00:09.058Z","response_time":120,"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":["docker","kubernetes","prometheus","prometheus-exporter"],"created_at":"2024-08-01T15:06:36.023Z","updated_at":"2025-09-01T12:37:47.416Z","avatar_url":"https://github.com/galexrt.png","language":"Smarty","funding_links":[],"categories":["Smarty"],"sub_categories":[],"readme":"# container-node_exporter-textfiles\n\n\u003cdetails\u003e\n    \u003csummary\u003e\n        \u003cb\u003eNOTICE The repository and image have been renamed on 18.02.2022! For more information click this spoiler\u003c/b\u003e\n    \u003c/summary\u003e\n\n    The container images name has been changed from `galexrt/node-exporter-smartmon` to **`galexrt/node-exporter-textfiles`**.\n    E.g., the image on quay.io is now available at `quay.io/galexrt/node-exporter-smartmon`.\n\n    The repository name has been changed from `container-node_exporter-smartmon` to **`container-node_exporter-textfiles`**.\n\n    This has been done as the image in this repository is not just for running the `smartmon` textfile collector script(s) anymore.\n\u003c/details\u003e\n\nContainer Image for easily running textfile exporter scripts from the Prometheus Community to be collected by the prometheus/node_exporter.\n\nContainer Image available from:\n\n* [Quay.io](https://quay.io/repository/galexrt/node-exporter-textfiles)\n* [GHCR.io](https://github.com/users/galexrt/packages/container/package/node-exporter-textfiles)\n\nContainer Image Tags:\n\n* `main` - Latest build of the `main` branch.\n* `vYYYYmmdd-HHMMSS-NNN` - Latest build of the application with date of the build.\n\n## Credits\n\nThis docker image contains the [prometheus-community/node-exporter-textfile-collector-scripts](https://github.com/prometheus-community/node-exporter-textfile-collector-scripts) repository, so that any script can be easily used with / from this Docker image.\n\n## Usage\n\n**This Docker image needs to be run in privileged mode for most of the scripts in the `prometheus-community/node-exporter-textfile-collector-scripts` repository, e.g., for `smartmon.sh` it is needed to be able to collect the SMART values.**\n\nThe entrypoint script is putting the output into the directory `/var/lib/node_exporter`, by default filename named after which script is running.\n\n### Variables\n\n| Name              | Default       | Description                                                      |\n| ----------------- | ------------- | ---------------------------------------------------------------- |\n| `SCRIPT`          | `smartmon.sh` | Which of the node_exporter textfile collector scripts to run.    |\n| `OUTPUT_FILENAME` | `smartmon`    | Name of the output file (file ending must not be added `.prom`). |\n| `INTERVAL`        | `300`         | Interval at which to run the script at.                          |\n\nAny flags / args given to the container are passed to the `SCRIPT` that will be executed.\n\n## Grafana Dashboard\n\nA Grafana dashboard for viewing `smartmon` metrics can be found in the [`grafana/`](grafana/) directory and [Grafana.com - Smartmon Textfile Dashboard by Galexrt](https://grafana.com/dashboards/3992).\n\n## Required node_exporter Configuration\n\nSee [node_exporter Configuration Prerequisites](docs/node_exporter.md).\n\n## Kubernetes\nFollowing deployments / installation methods are available:\n\n* [`node-exporter-textfiles` Helm Chart](charts/node-exporter-textfiles) (Recommended)\n* [`kubernetes/`](kubernetes/) directory contains an example DaemonSet running the `smartmon.sh` and `nvme_metrics.sh` textfile scripts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalexrt%2Fcontainer-node_exporter-textfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgalexrt%2Fcontainer-node_exporter-textfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalexrt%2Fcontainer-node_exporter-textfiles/lists"}