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
icingaclient ALL=(ALL) NOPASSWD: /bin/journalctl

Syntax

______________________________________________________________________

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

OK: check if kernel logs inconsistency messages