Skip to content
Snippets Groups Projects
Commit 8241a167 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add doc page for fs_errors

parent e4755a4e
No related branches found
No related tags found
1 merge request!127Update icinga checks and docs
...@@ -20,6 +20,8 @@ There is one include script used by all checks: ...@@ -20,6 +20,8 @@ There is one include script used by all checks:
* [check_disk-io](check_disk-io.md) * [check_disk-io](check_disk-io.md)
* [check_dns_responsetime](check_dns_responsetime.md) * [check_dns_responsetime](check_dns_responsetime.md)
* [check_eol](check_eol.md) * [check_eol](check_eol.md)
* [check_fs_errors](check_fs_errors.md)
* check_fs_writable
* check_haproxy_health * check_haproxy_health
* check_haproxy_status * check_haproxy_status
* check_memory * check_memory
......
# 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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment