NFS mounts and check_disk
carole gimenez
gimenez at cict.fr
Wed Mar 30 09:40:43 CEST 2005
We exclude several filesystems in check_disk. For that, we use the -X
option.
For example, in nrpe.cfg the definition of check_disk looks at this:
command[check_disk]=/usr/local/nagios/libexec/check_disk -e -w $ARG1$ -c
$ARG2$ -X $ARG3$ -X $ARG4$ -X $ARG5$ -X $ARG6$ -X $ARG7$ -X $ARG8$
Then, in command line, we run this command:
./check_nrpe -H xxxxxx -c check_disk -a 10% 5% nfs lofs iso9660 udf
hsfs autofs
DISK OK - free space:| /=6252MB;8859;9351;0;9844
/home=49062MB;49343;52084;0;54826 /dev/shm=1008MB;907;957;0;1008
Carole.
Ed Smith wrote:
>Is there a way to exclude multiple filesystems in check_disk? We have a number of nfs mounted filesytems that we do not wish to include in our check_disk test (they are always at a high usage level, and we check them elsewhere). I tried using -x, but that seems to work for only one filesystem, not many. Anyone else out there have any ideas? Thanks.
>
>Ed Smith
>
>------------------------
>Edward Smith
>Systems Application Engineer
>Demandtec, Inc
>esmith at demandtec.com
>650-226-4609
>
>
><html>
><body>
> <span style="font-size:8.0pt;font-family:Arial">---------------------------------------------------------------------------------------------------------------------------------------------</span>
> <span style="font-size:8.0pt;font-family:Arial">DEMANDTEC EMAIL NOTICE:</span>
> <p><span style="font-size:8.0pt;font-family:Arial">NOTICE: This email transmission and all attached files contain information intended for the designated individual or entity to whom it is addressed and may contain information that is proprietary, privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this email or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately by replying to this message and please delete the original message without making any copies.</span>
> <p><span style="font-size:8.0pt;font-family:Arial">WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Although we have taken reasonable precautions to ensure that this email and all attachments are free from viruses, we accept no liability for any loss or damage arising from the use of this email or its attachments.</span>
></body>
></html>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
>_______________________________________________
>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
>
>
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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