Monitoring unmounted partition

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Tue Feb 8 13:24:33 CET 2011


Write a plugin.  It could search the output of the command, "mount"

On Tue, Feb 8, 2011 at 6:49 AM, Javier Rivera <jrivera at skisa.com> 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.
>
> Sorry for my english. I write it also in spanish, if u use a translator
> maybe u understand me better.
>
> Estoy teniendo un problema con check_nrpe. Estoy monitorizando la partición
> /mnt/XXXX2 por ejemplo. Si no tengo esta partición montada, me devuelve la
> información de "/" y no da ningún error.
>
> ¿Como puedo hacer para que salte alerta cuando no esta montada?.
>
>
> Gracias
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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