Hardware-observer is a subordinate machine charm that provides monitoring and alerting of hardware resources on bare-metal infrastructure.
Hardware-observer collects and exports Prometheus metrics from BMCs (using the IPMI and newer Redfish protocols) and various SAS and RAID controllers through the use of the prometheus-hardware-exporter project. It additionally configures Prometheus alert rules that are fired when the status of any metric is suboptimal.
Appropriate collectors and alert rules are installed based on the availability of one or more of the RAID/SAS controllers mentioned below:
- Broadcom MegaRAID controller
- Dell PowerEdge RAID Controller
- LSI SAS-2 controller
- LSI SAS-3 controller
- HPE Smart Array controller
This charm is ideal for monitoring hardware resources when used in conjunction with the Canonical Observability Stack.
In order to manage third-party hardware resources, vendor-specific CLI tools need to be uploaded via juju attach-resource
.
In the Resources page on Charmhub, the name of the resource along with the download URL can be found.
-
See the Juju SDK documentation for more information about developing and improving charms.