https://github.com/fernvenue/ssacli-checker
Daily automatic health check for HPE Smart Array.
https://github.com/fernvenue/ssacli-checker
hp hpe ilo raid smart-array ssacli
Last synced: 6 days ago
JSON representation
Daily automatic health check for HPE Smart Array.
- Host: GitHub
- URL: https://github.com/fernvenue/ssacli-checker
- Owner: fernvenue
- License: gpl-3.0
- Created: 2025-09-15T04:18:10.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-09-15T06:27:26.000Z (11 months ago)
- Last Synced: 2026-07-21T12:35:07.935Z (6 days ago)
- Topics: hp, hpe, ilo, raid, smart-array, ssacli
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HPE Smart Array Health Checker
[](./LICENSE)
[](https://github.com/fernvenue/ssacli-checker)
Daily automatic health check for HPE Smart Array.
## Features
- [x] Automatic daily health check of HPE Smart Array using `ssacli`;
- [x] Systemd service and timer for scheduled updates;
- [x] Optional Telegram notifications with update reports;
- [x] Configurable logging levels;
- [x] Custom Telegram API endpoint support;
- [x] Easy configuration via environment variables.
## Requirements
Before using this script, ensure you have installed `ssacli`, go [HPE Software Delivery Repository](https://downloads.linux.hpe.com/sdr/repo/mcp/pool/non-free/) to get the package.
## Usage
First, download the script to `/usr/local/bin`:
```bash
curl -o /usr/local/bin/ssacli-checker.sh https://raw.githubusercontent.com/fernvenue/ssacli-checker/master/ssacli-checker.sh
```
Give execute permissions:
```bash
chmod +x /usr/local/bin/ssacli-checker.sh
```
Test the script:
```bash
/usr/local/bin/ssacli-checker.sh --help
```
Add systemd service and timer:
```bash
curl -o /etc/systemd/system/ssacli-checker.service https://raw.githubusercontent.com/fernvenue/ssacli-checker/master/ssacli-checker.service
curl -o /etc/systemd/system/ssacli-checker.timer https://raw.githubusercontent.com/fernvenue/ssacli-checker/master/ssacli-checker.timer
```
You can customize the service file to set your environment variables, then enable and start the timer:
```bash
systemctl enable ssacli-checker.timer --now
systemctl status ssacli-checker.timer
systemctl status ssacli-checker.service
```
*You may wanna restrict access to the service file, so that your environment variables are not readable by other users:*
```bash
chmod 600 /etc/systemd/system/ssacli-checker.service
```