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
Check_http reporting critical but site is okay
Re: Check_http reporting critical but site is okay
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?
Is this site using SSL?
Re: Check_http reporting critical but site is okay
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
}
# 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
}