Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks the mount table for read-only mounts - these are usually a sign of trouble (broken filesystem etc.)
Current Version
Last Release Date
June 17, 2009
Owner
Nagios Exchange
check_ro_mounts plugin
Example usage:
$ check_ro_mounts -X nfs -X romfs -x '/media/*' -x '/mnt/*' RO_MOUNTS OK: No ro mounts found
$ check_ro_mounts --help check_ro_mounts 0.1 Copyright (c) 2008 Valentin Vidic
This plugin checks the mount table for read-only mounts.
Usage: check_ro_mounts -m mtab -p path -x path -X type
Options: -h, --help
Print detailed help screen
-m, --mtab=FILE
Use this mtab instead (default is /proc/mounts)
-p, --path=PATH, --partition=PARTITION
Glob pattern of path or partition to check (may be repeated)
-x, --exclude=PATH
Glob pattern of path or partition to ignore (only works if -p unspecified)
-X, --exclude-type=TYPE
Ignore all filesystems of indicated type (may be repeated)
Hi Team, Locally the script working like Charm ! Kudos. BUT.. when i called it from nagios it returns NRPE: Unable to read output. Here is the list what i have performed. 1) SCP the file into libexec path. 2) Provided permission to execute. 3) Inserted the command in common.cfg Executing following command from nagios server. /usr/local/nagios/libexec/check_nrpe -H IPADDRESS -c check_ro_mounts NRPE: Unable to read output What i am doing wrong. Even i tried to provide nagios user permission to check_ro_mounts also entered the command in sudoers. No luck. Kindly help me out. Thanks in advance. Srini
So far so good, pushed this out to our servers today. I had to modify /usr/lib to look at /usr/lib64 however. Should be a quick revision to this if there's a new version sometime.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!