Build precise queries to find exactly what you need
Press ESC to close
just a two characters fix to make this work with nfsv4 mounts: — check_nfsmounts.old 2025-04-24 12:38:37.030645151 +0200 +++ check_nfsmounts 2025-04-24 12:32:30.676912073 +0200 @@ -79,7 +79,7 @@ my @dirs=(); my %mountmodes=(); while(my $line=) { – if($line =~ /^[^ ]+ [^ ]+ nfs /) { + if($line =~ /^[^ ]+ [^ ]+ nfs.? /) { my @fields=split(/s+/,$line); my $mountpoint=$fields[1]; push(@dirs,$mountpoint);
and it works for me on nrpe, but it needed root priviliges, so added sudo to the command in nrpe.conf and edited /etc/sudoers
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!