Commit Graph

7 Commits

Author SHA1 Message Date
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
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
17ce488ac3
Refactor shell scripts to remove unused code.
- Remove possibleaverages array from check-disk.sh and check-mem.sh
2023-05-31 11:40:47 +02:00
bdb9ee05e7
Add check-systemctl-service.sh script to check if a systemd unit is active.
This commit adds the check-systemctl-service.sh script which can be used to check if a systemd unit is active. The script takes in a unit file as an argument and has an optional flag to check for running within the current user. It returns exit codes based on whether the service is active, inactive or unknown.
2023-05-26 14:33:11 +02:00
ecc00c776c
Refactor shell scripts to check disk, load and memory usage
The commit refactors the shell scripts for checking disk, load and memory usage. The changes include updating the usage instructions and options for each script. The new options allow users to set warning and critical levels for each check.
2023-05-26 12:34:42 +02:00
84d97e3ca0
feat: Add disk, load and memory check scripts
Added three new scripts to check the status of disk usage, system load and memory usage. Each script takes in options for warning and critical levels, as well as an option to choose which average to use for the load level. The output includes information on used, available and total space/usage along with percentage values.
2023-05-26 12:32:12 +02:00
1dfaa2479b
Add GNU General Public License to the project
This commit adds the GNU General Public License to the project, which is a free, copyleft license for software and other kinds of works. The license guarantees users' freedom to share and change all versions of a program, ensuring it remains free software for all its users. The license also requires developers to protect users' rights by asserting copyright on the software and offering legal permission to copy, distribute, and/or modify it.
2023-05-26 12:30:11 +02:00