check_http is stuck in pending.
Posted: Tue Jun 19, 2012 4:23 am
Hi Everyone,
I am experiancing the following issue. Everytime I try to configure a service with the check_http command. The services stays in Pending state forever. It does not shedule the next check. Nor does it register the initial check.
When I check the advanced status details, this is what I get:
CHECK-5MIN template:
NOTIFY-EMAIL-ADMINS template:
I hope you guys can shine some light on this. Because I've been trying to solve this issue for a few days now.
Thanks.
I am experiancing the following issue. Everytime I try to configure a service with the check_http command. The services stays in Pending state forever. It does not shedule the next check. Nor does it register the initial check.
When I check the advanced status details, this is what I get:
- Service State: Pending
Duration: N/A
State Type: Hard
Current Check: 1 of 3
Last Check: Never
Next Check: Not scheduled
Last State Change: Never
Last Notification: Never
Check Type: Active
Check Latency: 5.844 seconds
Execution Time: 2.3372 seconds
State Change: 0%
Code: Select all
define service {
host_name example.com
service_description example.com check_http_resp
use CHECK-5MIN,NOTIFY-EMAIL-ADMINS
display_name check_http_res
servicegroups example
check_command check_http!-u <url> -f follow -v -r "pattern"!!!!!!!
register 1
}
Code: Select all
define service {
name CHECK-5MIN
max_check_attempts 3
check_interval 5
retry_interval 1
active_checks_enabled 1
check_period 24x7
register 0
}
Code: Select all
define service {
name NOTIFY-EMAIL-ADMINS
notification_interval 0
notification_period 24x7
notification_options r,c
notifications_enabled 1
contact_groups Admins
register 0
}
Thanks.