Question about HTTP service check


I’ve been monitoring a few sites via Ping for a while which I know docent really help me if apache crashes. however when I configure HTTP checks with the following (please tell me if I made a mistake.) anyway the site is up I know for a fact but Nagios shows this service as critical. any advice? thanks

define service{
use generic-service ; Name of service template to use
service_description HTTP
is_volatile 0
check_period 24x7
max_check_attempts 10
normal_check_interval 1
retry_check_interval 1
contact_groups admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_http


What is the output of a service check? Have you tried to run the command manualy from command line? What does it say?


ahh, thanks for the help but I figured it out, turns out I needed to add the -H option to the command because the site is a virtual host. added that in and its responding correctly now.