Commit Graph

3 Commits

Author SHA1 Message Date
Jeroen De Meerleer 050ba916ba
Refactor shell scripts: Remove unnecessary semicolons and add missing case terminators in the GetOptions function. 2023-06-01 16:24:24 +02:00
Jeroen De Meerleer d41ba60101
Refactor command line options for all scripts to include a help option. 2023-06-01 16:15:54 +02:00
Jeroen De Meerleer b2fccadfa1
Add check-md.sh script to monitor RAID device status
This commit adds a new bash script called check-md.sh that can be used to monitor the status of a RAID device. The script takes in options for warning and critical events, and checks the status of the specified MD-device. It then returns an exit code based on whether any warning or critical events were triggered, along with a message describing the current state of the array.
2023-06-01 14:34:36 +02:00