Your command line is
Code: Select all
command_line $USER1$/check_port.pl -p $ARG1$ -h $HOSTADDRESS$
Code: Select all
check_command check_port.pl! -p 80 -h www.google.com '-w 1 -c 2 -v'
Change the command line to this for the command
Code: Select all
command_line $USER1$/check_port.pl $ARG1$
Code: Select all
check_command check_port.pl! -p 80 -h www.google.com -w 1 -c 2 -v