How to execute/configure jnrpe plugins in Nagios



I had installed Nagios, JNRPE and NRPE(both on remote host and
monitoring host on the same bo:evil: on a linux box.

I am able to get the jnrpe plugin list and its help by executing the
below commands
*java -jar jnrpe.jar -c conf.xml -l
java -jar jnrpe.jar -c conf.xml -h TEST *

I need to configure the jnrpe plugin CHECK_FILE in Nagios

Can somebody let me know how to execute the CHECK_FILE plugin and also the procedure how to configure the jnrpe plugin as a command in commands.cfg file in nagios.