Commit Graph

4 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 b01af8010d
Refactor check-dummy.sh to add options for warning, critical and unknown status
This commit refactors the check-dummy.sh script to include options for warning, critical and unknown status. The script now accepts the following command line arguments: --ok (default), --warning, --critical and --unknown. The exit codes have also been updated to reflect these new statuses.
2023-06-01 16:08:49 +02:00
Jeroen De Meerleer 30369488f8
Add check-dummy.sh script
Added a new bash script that always returns OK. The script has usage instructions and exit codes. It also uses getopt to parse arguments.

Significant changes:
- Added check-dummy.sh
- Script always returns OK
- Usage instructions added
- Exit codes defined
- Getopt used for argument parsing
2023-05-31 14:28:07 +02:00