6 Commits

Author SHA1 Message Date
05220c207a
Improve output formatting for check-url.sh
This commit adds formatting improvements to the output of check-url.sh. Specifically, it formats the response time, DNS lookup time, and connect time to three decimal places. This makes the output more readable and easier to understand.
2023-06-02 13:45:54 +02:00
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
9db3ebbce6
Improve check-url.sh script documentation
The script's usage message has been updated to reflect the correct functionality of the script. The previous message was incorrect and referred to disk usage instead of checking if a URL is available.
2023-05-31 17:05:53 +02:00
8d4a9f2991
Fix typo in check-url.sh script
The word "critical" was misspelled as "critital". This commit corrects the spelling error.
2023-05-31 14:33:04 +02:00
41082ce029
feat: Add script to check URL response time
This commit adds a new bash script that checks the response time of a given URL. The script takes in options for proxy server, warning and critical levels for response time, and the URL to be checked. It returns exit codes based on whether the response time is within acceptable limits or not.
2023-05-31 12:26:03 +02:00