https://github.com/solvik/ssacli-prom-exporter
HP SmartArray prometheus exporter
https://github.com/solvik/ssacli-prom-exporter
hp hpacucli prometheus prometheus-exporter raid smartarray-controllers smartarray-scripts ssacli
Last synced: 12 days ago
JSON representation
HP SmartArray prometheus exporter
- Host: GitHub
- URL: https://github.com/solvik/ssacli-prom-exporter
- Owner: Solvik
- Created: 2022-06-28T14:59:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T15:35:58.000Z (over 2 years ago)
- Last Synced: 2025-09-11T13:30:30.816Z (about 1 month ago)
- Topics: hp, hpacucli, prometheus, prometheus-exporter, raid, smartarray-controllers, smartarray-scripts, ssacli
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ssacli-text-file-exporter
This script is a prometheus textfile collector
It's parsing the output of the `ssacli` binary to interpret and cache
## Usage
```
python3 ssacli_exporter.py --output /var/lib/node_exporter/textfile/ssacli.prom
```## Output
Controller labels are:
* Serial
* Firmware versionPhysical disks labels are:
* Box
* Bay
* Port
* SerialLogical drives labels are:
* Array```
# HELP hp_smart_array_controller_status Controller status
# TYPE hp_smart_array_controller_status gauge
# HELP hp_smart_array_controller_cache_status Controller Cache Status
# TYPE hp_smart_array_controller_cache_status gauge
# HELP hp_smart_array_controller_cache_size Controller Cache Size in GB
# TYPE hp_smart_array_controller_cache_size gauge
# HELP hp_smart_array_controller_cache_available Controller Cache available in GB
# TYPE hp_smart_array_controller_cache_available gauge
# HELP hp_smart_array_disk_power_on_hours Number of power on hours
# TYPE hp_smart_array_disk_power_on_hours gauge
# HELP hp_smart_array_disk_usage Usage remaining for disk in %
# TYPE hp_smart_array_disk_usage gauge
# HELP hp_smart_array_disk_status Status of physical disk
# TYPE hp_smart_array_disk_status gauge
# HELP hp_smart_array_ld_status Logicial drive status
# TYPE hp_smart_array_ld_status gauge
# HELP hp_smart_array_ld_caching Logicial drive caching
# TYPE hp_smart_array_ld_caching gauge
```