4 Commits

Author SHA1 Message Date
050ba916ba
Refactor shell scripts: Remove unnecessary semicolons and add missing case terminators in the GetOptions function. 2023-06-01 16:24:24 +02:00
d41ba60101
Refactor command line options for all scripts to include a help option. 2023-06-01 16:15:54 +02:00
253e922f99
Refactor check-webcron.sh to improve error messages
The commit refactors the check-webcron.sh script to improve error messages. Specifically, it changes "URL UNKNOWN" to "WEBCRON UNKNOWN" and adds that prefix to all related error messages.
2023-05-31 17:14:43 +02:00
09932a466c
Add check-webcron.sh script to monitor webcron jobs
This commit adds a new bash script that monitors webcron jobs. The script takes in options such as proxy server, warning and critical levels, and URL to be monitored. It then checks the status of the URL and returns an exit code based on whether it is OK, Warning or Critical.
2023-05-31 17:04:50 +02:00