Hi Team,
The plugin works with arguments and without no arguments. Plugin actually designed to scan the fstab and fetch the mount points to check the RO mounts.
However i have defined with arguments in the client side common.cfg and calling the command name from nagios server. So nagios will call the command entered in client side and execute it.
So argument doesn't matter at all.
I wonder why the plugin doesn't return the value to nagios server. Help us out asap.
Rgds
Srini
check_ro_mounts not working
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: check_ro_mounts not working
Did you try this?lmiltchev wrote:Change the following line in sudoers from this:to this:Code: Select all
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_ro_mountsand test your check from the Nagios XI server:Code: Select all
nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_ro_mounts *Did you see the desired/expected output?Code: Select all
./check_nrpe -H <client ip> -c check_ro_mounts
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.