diff --git a/docs/20_Checks/_index.md b/docs/20_Checks/_index.md index 80d492cfe5d2f3279212b2e4a3b7e4e556c5763c..e6dfff4d8a9f8c0c7bac01d98c90703b0eb0028d 100644 --- a/docs/20_Checks/_index.md +++ b/docs/20_Checks/_index.md @@ -20,6 +20,8 @@ There is one include script used by all checks: * [check_disk-io](check_disk-io.md) * [check_dns_responsetime](check_dns_responsetime.md) * [check_eol](check_eol.md) +* [check_fs_errors](check_fs_errors.md) +* check_fs_writable * check_haproxy_health * check_haproxy_status * check_memory diff --git a/docs/20_Checks/check_fs_errors.md b/docs/20_Checks/check_fs_errors.md new file mode 100644 index 0000000000000000000000000000000000000000..75df3e274603b6d61a2570fda190ceb7348aacb8 --- /dev/null +++ b/docs/20_Checks/check_fs_errors.md @@ -0,0 +1,58 @@ +# Check filesystem errors + +## Introduction + +**check_fs_errors** checks if kernel logs inconsistency messages in the journallog. +It requires sudo permission on /bin/journalctl + +If it would find error messages it switches to critical and shows the found journallog entries. + +## Requirements + +* sudo permission on /bin/journalctl to scan for the information + +```txt +icingaclient ALL=(ALL) NOPASSWD: /bin/journalctl +``` + +## Syntax + +```txt +______________________________________________________________________ + +CHECK_FS_ERRORS +v1.2 + +(c) Institute for Medical Education - University of Bern +Licence: GNU GPL 3 +______________________________________________________________________ + +Check if kernel logs inconsistency messages in the journallog. +It requires sudo permission on /bin/journalctl + +SYNTAX: +check_fs_errors [-h] + +OPTIONS: + + -h or --help show this help. + +PARAMETERS: + + none + +EXAMPLE: +check_fs_errors +``` + +### Parameters + +(none) + +## Examples + +`$ check_fs_errors` returns + +```txt +OK: check if kernel logs inconsistency messages +```