Skip to content
Snippets Groups Projects
Select Git revision
  • b8a713af437fad381a502880991668e169b71694
  • master default protected
  • simple-task/7248-eol-check-add-node-22
  • 6877_check_iml_deployment
4 results

check_fs_errors.md

Blame
  • 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