Nrpe runs as a background process on the remote host and processes command execution requests from the check_nrpe plugin on the Nagios host.
Upon receiving a plugin request from an authorized host, it will execute the command line associated with the command name it received and send the program output and return code back to the check_nrpe plugin.