-
Notifications
You must be signed in to change notification settings - Fork 29
Nagios Plugin check_readonlyfs
Davide Madrisan edited this page Feb 16, 2017
·
1 revision
check_readonlyfs - check for readonly filesystems
[/etc/nrpe.d/check_readonlyfs]
command[check_readonlyfs]=/usr/lib/nagios/plugins/check_readonlyfs -l -X cgroup -X tmpfs
This plugin checks for readonly filesystems.
Copyright (C) 2013-2015 Davide Madrisan <[email protected]>
Usage:
check_readonlyfs [OPTION]... [FILESYSTEM]...
Options:
-a, --all include dummy file systems
-l, --local limit listing to local file systems
-T, --type=TYPE limit listing to file systems of type TYPE
-X, --exclude-type=TYPE limit listing to file systems not of type TYPE
-v, --verbose show details for command-line debugging (Nagios may truncate output)
-h, --help display this help and exit
-V, --version output version information and exit
Examples:
check_readonlyfs -l -T ext3 -T ext4
check_readonlyfs -l -X vfat
> /usr/lib/nagios/plugins/check_readonlyfs -l -X cgroup -X tmpfs
readonlyfs OK
> /usr/lib/nagios/plugins/check_readonlyfs
readonlyfs CRITICAL: /data readonly!
none