Varibles definitions

could not find definition. what is the $USER1$ varible?

nagios.sourceforge.net/docs/2_0/macros.html
nagios.sourceforge.net/docs/2_0/macros.html#user
The nth user-definable macro. User macros can be defined in one or more resource files. Nagios supports up to 32 user macros ($USER1$ through $USER32$).

I got the daemon running but in the Status Information box all I get as returned output is “NRPE v2.5.1”. How can I get the desired output from the remote pluggin?

define service{
use generic-service ; Name of service template to use
host_name tvp-control-01
service_description remote partition size
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_nrpe!check_disk1
}

define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$
}

On remote server nrpe.cfg plugins:

command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hda1
command[check_disk2]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hdb1
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200

From the looks of your check command defined, all you want to do is execute the binary. i.e.
look for yourself and run it by hand and see what you get.
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$
}
So run
/usr/local/nagios/iibexec/check_nrpe -H someipaddy
and see what you get. If I was you, I’d read the README that comes with nrpe, and try again.