Metadata-Version: 2.1
Name: prometheus-smart-collector
Version: 2.0.0
Summary: Prometheus collector for SMART metrics
License: MIT
Author: James Geboski
Author-email: jgeboski@gmail.com
Requires-Python: >=3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: aiofiles (>=22.1.0)
Requires-Dist: click (>=1.0.0)
Description-Content-Type: text/markdown

# Prometheus SMART Collector

A collector wrapped around `smartctl` for exporting SMART metrics to
Prometheus. The output of this collector is consumed by the Node
Exporter's `textfile` collector. No exporting functionality is provided
by this collector, the Node Exporter must be used.

Administrative permissions (root or admin capabilities) are required for
`smartctl` to query basic metrics. The benefit of the approach of this
collector is the exporter, which takes requests from clients, does not
need to run with administrative permissions. Only a small Python script
for the collector needs to run with these permissions. The Node Exporter
can continue to run as an unprivileged user, reading the file written by
the collector.

## Installing on Fedora

A Copr repo is provided for Fedora:

```
$ dnf copr enable jgeboski/prometheus-smart-collector
```

