Daily automatic health check for HPE Smart Array.
- Automatic daily health check of HPE Smart Array using
ssacli; - Systemd service and timer for scheduled updates;
- Optional Telegram notifications with update reports;
- Configurable logging levels;
- Custom Telegram API endpoint support;
- Easy configuration via environment variables.
Before using this script, ensure you have installed ssacli, go HPE Software Delivery Repository to get the package.
First, download the script to /usr/local/bin:
curl -o /usr/local/bin/ssacli-checker.sh https://raw.githubusercontent.com/fernvenue/ssacli-checker/master/ssacli-checker.shGive execute permissions:
chmod +x /usr/local/bin/ssacli-checker.shTest the script:
/usr/local/bin/ssacli-checker.sh --helpAdd systemd service and timer:
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.timerYou can customize the service file to set your environment variables, then enable and start the timer:
systemctl enable ssacli-checker.timer --now
systemctl status ssacli-checker.timer
systemctl status ssacli-checker.serviceYou may wanna restrict access to the service file, so that your environment variables are not readable by other users:
chmod 600 /etc/systemd/system/ssacli-checker.service