Nagios for oracle

Hi,
Today, I have a problem when monitoring oracle. It’s log below:
[1323228647] Warning: Return code of 127 for check of service ‘oracle_tablespace_icar’ on host ‘IDC003’ was out of bounds. Make sure the plugin you’re trying to run actually exists.
[1323228647] SERVICE NOTIFICATION: nagiosadmin;IDC003;oracle_tablespace_icar;CRITICAL;notify-host-by-email;(Return code of 127 is out of bounds - plugin may be missing)
[1323228647] SERVICE NOTIFICATION: nagiosadmin;IDC003;oracle_tablespace_icar;CRITICAL;notify-host-by-fetion;(Return code of 127 is out of bounds - plugin may be missing)
[1323228657] Warning: Attempting to execute the command “/usr/local/nagios/libexec/insert.pl” resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists…

But insert.pl doesn’t exist.And I execute the command in client is ok.
[root@IDC003 libexec]# ./check_oracle --tablespace sgmparts nagios NaGios UNDOTBS1 85 75
sgmparts : UNDOTBS1 OK - .10% used 20573 / 20590 MB available ]|UNDOTBS1=.10%;75;85;0;100

Who can help me,thanks.

try runing the script as user nagios, if it works try lauching the script from cron, outputting everything to a temp file and see the result.

Hi luca,
After runing the script as user nagios,it works.Thanks. I thougt it should work as user oracle,I was too careless,Ha ha.