How to exclude mount point from disk usage checking?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
horizn
Posts: 10
Joined: Tue Oct 07, 2014 8:57 am

How to exclude mount point from disk usage checking?

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

Can you show us the actual command that you are running from the command line along with the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked