Page 1 of 1

HTTPS - Socket timeout after 10 seconds

Posted: Thu Feb 04, 2016 8:39 pm
by sonico2015
Hi,

Daily I received this alarm:

[02-04-2016 16:59:25] SERVICE ALERT: sitecom;HTTPS;CRITICAL;HARD;3;CRITICAL - Socket timeout after 10 seconds
[02-04-2016 16:58:25] SERVICE ALERT: sitecom;HTTPS;CRITICAL;SOFT;2;CRITICAL - Socket timeout after 10 seconds
[02-04-2016 16:57:26] SERVICE ALERT: sitecom;HTTPS;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds

The service is monitoring HTTP & HTTPS a site that a certain time (always @ the same hour), appears and after of 15 minutes aprox. disappear.

I've been looking at forums a solution or fix for this issue, and only got the same commentary about the problem... increase the nrpe_check to -t to 20 or 30 seconds.
Obviously I did it, but without good results.

I've try also find a patron about the time when it is alarmed, but I couldn't find nothing backing up, or a overload the site, but nothing...

Really I don't know where can I find the problem.

Any ideas where to find a way to resolve this issue?

The server where the site is located has:

Mysql
php 5.4.26
apache 5.3.28
python 2.6

Changes did it:

Before:

# 'check_https' command definition
define command{
command_name check_https
command_line $USER1$/check_http -I $HOSTADDRESS$ -S
}

After #1:

# 'check_https' command definition
define command{
command_name check_https
command_line $USER1$/check_http -I $HOSTADDRESS$ -S -t 20
}
After #2:


# 'check_https' command definition
define command{
command_name check_https
command_line $USER1$/check_http -I $HOSTADDRESS$ -S -t 30

Re: HTTPS - Socket timeout after 10 seconds

Posted: Fri Feb 05, 2016 10:27 am
by rkennedy
To clarify, when you say it "disappears" do you mean that the service check goes back to normal without issue?

Also, do you have control of the remote server or are you monitoring an external website? I wonder if it goes down for maintenance / backups once a day.

Re: HTTPS - Socket timeout after 10 seconds

Posted: Mon Feb 29, 2016 6:54 pm
by sonico2015
I found something about a cron running at the same time that the alarm appear... I will continue investigating the issue...

Re: HTTPS - Socket timeout after 10 seconds

Posted: Tue Mar 01, 2016 10:04 am
by rkennedy
Sounds good - let us know if you need any further assistance.