Problem

Hello,

My conf in commands.cfg is:

url
define command{
command_name check_website
command_line $USER1$/check_website.sh www.globo.com

The status in service detail of url nagios is:

UNKNOWN 06-11-2014 14:08:23 0d 0h 33m 15s 3/3 HTTP UNKNOWN: N/A – http://www.globo.com/

Do not know why the status is UNKNOWN. It should be OK as the other.

On the command line is ok:

/usr/local/nagios/libexec/check_website.sh www.globo.com

HTTP OK: 234ms – http://www.globo.com/|time=234ms;500;2000;0;

Can you help me?