Page 1 of 1

How to exclude mount point from disk usage checking?

Posted: Fri Jul 24, 2015 8:26 am
by horizn
Hi,
I am trying to exclude/ignore some mount point from beign checked by check_disk:

Code: Select all

define command{
        command_name    check_local_disk
        command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -i /excluded/share
        }
and unfortunately Nagios still complaining about low space on '/excluded/share'. What is wrong?

Re: How to exclude mount point from disk usage checking?

Posted: Fri Jul 24, 2015 10:00 am
by lmiltchev
Can you show us the actual command that you are running from the command line along with the output of it?