---
title: Charmhub | Deploy Hardware Observer using Charmhub - The Open Operator Collection
description: Deploy the latest version of Hardware Observer on any cloud.
url: https://charmhub.io/hardware-observer/docs/exporters
---

# Hardware Observer

[Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

* [Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

Platform:

26.04

24.04

22.04

20.04

18.04

stable 894

```
juju deploy hardware-observer
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://github.com/canonical/hardware-observer-operator)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/hardware-observer-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

Hardware Observer supports the use of multiple exporters to fetch various kinds of metrics. The primary one is the [prometheus-hardware-exporter](https://github.com/canonical/prometheus-hardware-exporter/) which collects most of the metrics from our custom collectors which include Redfish, IPMI, MegaRAID and more.

We also have another exporter for collecting S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) metrics from the drives on the system. For exporting these metrics, we used the [smartctl-exporter-snap](https://github.com/canonical/smartctl-exporter-snap) which is based on the upstream golang based [smartctl\_exporter](https://github.com/prometheus-community/smartctl_exporter/).

A sample of the metrics obtained from the smartctl-exporter-snap can be found in [this file](https://github.com/prometheus-community/smartctl_exporter/blob/master/EXAMPLE.md) on the upstream repo. The full list of metrics and alert rules can found in [this documentation page](https://charmhub.io/hardware-observer/docs/metrics-and-alerts-smart).

[DCGM-Exporter](https://github.com/NVIDIA/dcgm-exporter) is used to collect and export NVIDIA GPU metrics, and is deployed as part of the [DCGM snap](https://github.com/canonical/dcgm-snap). The full list of supported metrics is available [here](https://github.com/canonical/hardware-observer-operator/blob/main/src/gpu_metrics/dcgm_metrics.csv), and the related alerts can be found [here](https://github.com/canonical/hardware-observer-operator/blob/main/src/prometheus_alert_rules/dcgm.yaml). Note: The DCGM exporter will only be installed and used if NVIDIA GPUs are detected on the system and the NVIDIA drivers are installed.

Hardware Observer manages the lifecycle (for example starting, stopping, enabling, disabling and other functionality ) of the exporters as either a systemd service or a snap package, depending the availability of the snap package for the exporter. For prometheus-hardware-exporter, it is managed as a systemd service; for smartctl-exporter, it is managed as a snap package.

Each exporter has an associated port from which the metrics can be scraped. For prometheus-hardware-exporter, the config option `hardware-exporter-port` (which is set to 10200 by default) will be used. And for the smartctl-exporter, the config option used is `smartctl-exporter-port` (which is set to 10201 by default).

---
