How do I check ALL mount points using check_disk?
Sunil Sankar
sunil at sunil.cc
Thu Jun 13 16:28:20 CEST 2013
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 at 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 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
>
--
Regards
Sunil Sankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130613/ee3404d5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
-------------- next part --------------
_______________________________________________
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