Check_http reporting critical but site is okay

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
csmithers
Posts: 3
Joined: Mon Jan 16, 2012 11:10 am

Check_http reporting critical but site is okay

Post by csmithers »

Hi,

I have been tasked with monitoring a website (learningpoint.net) to check its online status.. when using check_http it is reporting critical, at first i thought my nagios knowledge was off so i set up google.com aswell and that is showing as up... any reason why the first site is critical?

Connor
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check_http reporting critical but site is okay

Post by mguthrie »

Can you run a command-line test for this site and show us what command you're testing and the output it returns?

Is this site using SSL?
csmithers
Posts: 3
Joined: Mon Jan 16, 2012 11:10 am

Re: Check_http reporting critical but site is okay

Post by csmithers »

Hi, have no idea how to run cmd line but I can give you my service and host definitions..
# Service definition for Northarbour.com
define service{
use generic-service ; Name of service template to use
hostgroup_name HTTP-hosts
service_description HTTP Check
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_http
servicegroups HTTP-services
}

# host definition for Learningpoint.net
define host{
use generic-host ; Name of host template to use
host_name Learningpoint.net
alias Learningpoint.net
address 178.21.238.2
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
notification_options d,u,r
}
Locked