[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-users
Subject:    Re: [Nagios-users] How do I check ALL mount points using check_disk?
From:       Sunil Sankar <sunil () sunil ! cc>
Date:       2013-06-13 14:40:20
Message-ID: CAPqUM3UpYAXuCNnc2Z0apkaYT6EY-GZUh0J=dYRZRfGw8KzX2w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


You can configure it nrpe.conf
command[check_disk_all]=/usr/libexec/nagios/plugins/check_disk -X nfs -X
nfs3 -X nfs4 -X cifs -X none -X tmpfs -w $ARG1$ -c $ARG2$

Here we are not monitoring the nfs or cifs or tmpfs other than that we are
will get results for everything


On Thu, Jun 13, 2013 at 6:38 PM, Bonnie Rush <bonnierush6@gmail.com> wrote:

> With check_disk normally you can specify something like "-p /tmp -p /var"
> which will check /tmp and /var. But if I want to check all of the mount
> points, should I not specify a partition (-p) variable at all?
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@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
>



-- 
Regards
Sunil Sankar

[Attachment #5 (text/html)]

<div dir="ltr">You can configure it \
nrpe.conf<div><div>command[check_disk_all]=/usr/libexec/nagios/plugins/check_disk -X \
nfs -X nfs3 -X nfs4 -X cifs -X none -X tmpfs -w $ARG1$ -c \
$ARG2$</div></div><div><br></div><div style> Here we are not monitoring the nfs or \
cifs or tmpfs other than that we are will get results for everything</div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 6:38 PM, \
Bonnie Rush <span dir="ltr">&lt;<a href="mailto:bonnierush6@gmail.com" \
target="_blank">bonnierush6@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">With check_disk normally you can specify \
something like &quot;<span style="color:rgb(17,17,17);line-height:20px">-p /tmp -p \
/var&quot; which will check /tmp and /var. But if I want to check all of the mount \
points, should I not specify a partition (-p) variable at all?</span></div>

<br>------------------------------------------------------------------------------<br>
 This SF.net email is sponsored by Windows:<br>
<br>
Build for Windows Store.<br>
<br>
<a href="http://p.sf.net/sfu/windows-dev2dev" \
target="_blank">http://p.sf.net/sfu/windows-dev2dev</a><br>_______________________________________________<br>
 Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br> ::: \
Please include Nagios version, plugin version (-v) and OS when reporting any \
issue.<br> ::: Messages without supporting info will risk being sent to \
/dev/null<br></blockquote></div><br><br clear="all"><div><br></div>-- \
<br>Regards<br>Sunil Sankar </div>



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Nagios-users mailing list
Nagios-users@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic