Nrpe $ARG1$

hello,

I’m using check_nrpe on nagios server and nrpe on remote host
instead of using check_swap -w 30% -c 40% on the remote host nrpe.cfg I would like to set it up as check_swap -w $ARG1$ -c $ARG2$ on the remote host nrpe.cfg file and on the nagios server config file set it as

check_nrpe!check_swap!30%!20%

but this does not work and give me an error saysing “must be interger or percentage”

any help would me buch appriciated

try inverting the values:
check_nrpe!check_swap!20%!30%