Well I defined the check command as name nrpe
with this option $USER1$/check_nrpe2 -H $HOSTADDRESS$ -c $ARG1$
And this is giving me error whe i do run test or restart nagios
Error: Service check command ‘check_nrpe’ specified in service ‘nrpe’ for host ‘localhost’ not defined anywhere!