check_nrpe put $ at end of check string on solaris
Posted: Wed Jun 04, 2014 10:32 am
Hi,
I have the same problem with nrpe on solaris.
it appears when there is "$" sing in the command.
if I remove the "$" in the nrpe.cfg file, the dollars disappears at the end of the line showed in debug mode.
I have put my regex in nrpe.cfg because $ is a forbidden metacharactere when passing as argument. But here it "breaks" the command line...make me crazy
I have the same problem with nrpe on solaris.
it appears when there is "$" sing in the command.
Code: Select all
command[check_diskss]=/home/vkwiatkowski/check_disk -w $ARG1$ -c $ARG2$ -A -i "^.*mysql.*$" -e
I have put my regex in nrpe.cfg because $ is a forbidden metacharactere when passing as argument. But here it "breaks" the command line...make me crazy