Fwd: Monitoring unmounted partition
Assaf Flatto
nagios at flatto.net
Thu Feb 10 20:29:37 CET 2011
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
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list