This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
check_commands:check_http [2019/02/04 11:35] external edit
check_commands:check_http [2019/03/16 17:19] (current)
Robbie Ferguson
Line 61: Line 61:
 <​code>​openssl s_client -connect YOURDOMAIN.COM:​443 -debug</​code>​ <​code>​openssl s_client -connect YOURDOMAIN.COM:​443 -debug</​code>​
 +**I receive a message "​CRITICAL - Socket timeout after 10 seconds"​ on NEMS TV Dashboard, Adagios and so-on**
 +This means the particular board you're using to run NEMS is a bit slow for the task. By default, check_http will timeout after 10 seconds. But what happens if your board takes 11? It generates the error "​CRITICAL - Socket timeout after 10 seconds"​.
 +To remedy this, yes, you could move to a faster board. But I'd suggest you could also add these two things to your service check ARGS as per the syntax above:
 +-N - only download the headers: this will result in a smaller transaction,​ which in turn takes less time.
 +-T 30 - increase the timeout to 30 seconds.
 +So your ARGS would become:
 +<​code>​-N -T 30</​code>​
  • check_commands/check_http.txt
  • Last modified: 2019/03/16 17:19
  • by Robbie Ferguson