check_disk: Add synthetic file systems for default exclusion depending on command line options. by mirespace · Pull Request #1749 · monitoring-plugins/monitoring-plugins · GitHub
Skip to content

check_disk: Add synthetic file systems for default exclusion depending on command line options.#1749

Open
mirespace wants to merge 1 commit into
monitoring-plugins:masterfrom
mirespace:selective-default-excluded-synthethic-filesystems-upstream-proposal
Open

check_disk: Add synthetic file systems for default exclusion depending on command line options.#1749
mirespace wants to merge 1 commit into
monitoring-plugins:masterfrom
mirespace:selective-default-excluded-synthethic-filesystems-upstream-proposal

Conversation

@mirespace

Copy link
Copy Markdown

Hi,

to avoid false-positive DISK CRITICAL error and DISK UNKNOWN message when using check_disk with tracefs, squasfs and tmpfs (synthetic filesystems), the approach here has been to exclude this type of filesystem only if it is neither included via path (option -p) nor via include (option -N). I think it can help in cases that scripts are in place and flags cannot be wrapped.

Fixes #1748.

@RincewindsHat

Copy link
Copy Markdown
Member

    they have not been included and no mount point have been provided
    in command line. Fixes monitoring-plugins#1748 .
@waja waja force-pushed the selective-default-excluded-synthethic-filesystems-upstream-proposal branch from 10a5a92 to d062d28 Compare February 3, 2023 15:22
@waja waja changed the title Add synthetic file systems for default exclusion depending on command line options. check_disk: Add synthetic file systems for default exclusion depending on command line options. Feb 3, 2023
@waja waja added the check_disk label Feb 3, 2023
@waja waja added this to the 2.4 milestone Feb 3, 2023
@RincewindsHat

Copy link
Copy Markdown
Member

@waja waja modified the milestones: 2.4, 2.3.6 Oct 18, 2023
@waja waja modified the milestones: 2.3.6, 2.4.1 Jul 23, 2024
@RincewindsHat RincewindsHat modified the milestones: 2.4.1, 3.1.0 Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check_disk: Selectively exclude squashfs, tracefs and tmpfs by default.

4 participants