i added these line to check_oracle but still when running with nrpe i get "cannot determine ORACLE_HOME ORACLE_HOME=/u01/app/oracle/oracle/product/10.2.0/db_2 export ORACLE_HOME i can run this conneced as user root or user nagios and have no problem the problem seems to be nrpe