hi,I am a user of check_oracle_health from China, but I was sufferd a diffcult question about how use of check_oracle_health. ALL went fine until I define it a service in nagios. And at commandline I used it very well ,like :

[root@localhost libexec]# ./check_oracle_health --connect=orcl --user=nagios --password=nagios --mode=connection-time
OK - 0.15 seconds to connect as NAGIOS | connection_time=0.1491;1;5

but when I go to web interface ,somethings are wrong like(the picture could't be shown)
at the bar Status Information it says : CRITICAL: Connection can;t be established within 60 seconds


I don't konw how to solve it ,please help me and I beg the solution is very detailed as possible as you can give to me .
I think I should give you more detailed informations about how I define the services in nagios:
at the command.cfg ,I add commands below(I just use two command to have a try)

# 'check_oracle_health ' command definition
define command{
command_name oracle-connected-users
command_line $USER1$/check_oracle_health --connect=orcl --user=nagios --password=nagios --mode=connected-users
}

define command{
command_name oracle-connection-time
command_line $USER1$/check_oracle_health --connect=orcl --user=nagios --password=nagios --mode=connection-time
}

and under the filefolder /usr/local/nagios/etc/Server the host oracleServer.cfg was created,and the content of it are ::
# define host

define host{

use linux-server ; Name of host template to use

; This host definition will inherit all variables that are defined

; in (or inherited by) the linux-server host template definition.

host_name oracleServer
alias oracle
address 127.0.0.1

}

define service{

use generic-service ; Name of service template to use

host_name oracleServer

service_description connected-users

check_command oracle-connected-users

}
define service{


use generic-service ; Name of service template to use

host_name oracleServer

service_description connection-time

check_command oracle-connection-time

}

the nagios and oracle are installed in a same machine ,then I enter web interface,the result was returned as figure shows.

please help me and tell me how I could solver it ;
Thanks very much!

My english is poor, I hope you can understand what problem I have meet!