Syntax to submit nsclient++ check_drivesize with nrpe
Posted: Thu Aug 15, 2019 2:56 pm
Hi. We have been using the check_nt protocol to submit nsclient++ checks. I'm trying to use nrpe instead, but I'm not having success getting nrpe to use the parameters. The check_nrpe command is configured as follows:
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
I tried:
-a '-p ##### check_drivesize "warn=free<20% crit=free<10%" drive=*'
in $ARG1$ leaving $ARG2$ blank and I get:
Incorrect command line arguments supplied
NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.15
//snip
Is there an obvious error?
Thanks.
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
I tried:
-a '-p ##### check_drivesize "warn=free<20% crit=free<10%" drive=*'
in $ARG1$ leaving $ARG2$ blank and I get:
Incorrect command line arguments supplied
NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.15
//snip
Is there an obvious error?
Thanks.