check_nrpe problem as user


Hi All,
I have nagios 1.2 running on my server server05 and it also has nrpe running as well. Everything t has been running fine up until last week and I am just seeing some odd behaviors. My problem is check_nrpe -H -c check_proc -a naveed TEST always returns a response OK as a user naveed, but I do not even have any process by name TEST. I ran this test as root and got a correct response. Does anyone have any idea what could be a problem here ?

Here is the user response
server05:~> /usr/local/nagios/libexec/check_nrpe -H -c check_proc -a naveed TEST
PROCS OK: 2 processes with UID = 1001 (naveed), args ‘TEST’

Here is the root response
server05:~ # /usr/local/nagios/libexec/check_nrpe -H -c check_proc -a naveed TEST
PROCS CRITICAL: 0 processes with UID = 1001 (naveed), args ‘TEST’



I ran into some problems when file owner and file group was root and not the nagiosadmin. Have you checked file permission in your libexec dir?