Javier Rivera wrote: > Good Morning, > > Im having a problem with check_nrpe. Im monitoring a partition > /mnt/XXXX2 f.e. If i dont have this partition mounted, it just returns > the value of "/" witout sending any error. > > How can i get an alert when the partition isn`t mounted. > > Thanks in advance. > Hello Javier
what is you definition in the nrpe.cfg you can change the definition on the nrpe.cfg to instead of "-p /mnt/XXXX2 f.e. " to be "-p [device ] ( i.e /dev/sdd(X) ) " , that way if the file system is not mounted - the check will fail and you will get notified about it. Assaf ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
