[CentOS] nagios check_local_disk failing

Thu May 14 01:42:51 UTC 2015
Tim Dunphy <bluethundr at gmail.com>

Hey all,

I have a local disk check defined which is giving me an error:

Current Status:
 (for 0d 0h 1m 38s)Status Information:Unknown argument
check_disk -w limit -c limit [-W limit] [-K limit] {-p pathPerformance Data:-x
device} [-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r
path ] [-t timeout] [-u unit] [-v] [-X type] [-N type] [-n]

 I have a local check setup like this in the server's config:

define service{
        use                             local-service         ; Name of
service template to use
        host_name                       monitor1
        service_description             Root Partition
        check_command                   check_local_disk!20%!10%!/

It's attempting to do a local disk check on the nagios server itself. Not
an NRPE check.

This is the command definition:

# 'check_local_disk' command definition
define command{
        command_name    check_local_disk
        command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -x

Can someone please tel me where I'm going wrong?


GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B