Hello Guest

Author Topic: Checking HTTPS site status  (Read 3820 times)

0 Members and 1 Guest are viewing this topic.

Offline Morphius143

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
Checking HTTPS site status
« on: October 05, 2011, 06:47:08 AM »
Hello All

Does anyone know of a way to check the status of a https site?

I have managed to get the http checks working but https always seems to fail, running a telnet to port 443 also fails so i am guessing it is to do with the SSL.

Any ideas?

Thanks

Offline gelenmb

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Checking HTTPS site status
« Reply #1 on: January 19, 2012, 04:57:49 AM »
Hi,
Goliat is an stress/load audit tool for WEB applications and URL can use https as well as http.
This is an example for GET task (in goliat.config file):

task_begin
get https://Server/nps/servlet/portal?render=on
check_string iManager de Novell
task_end

More information: http://goliat.sourceforge.net/en/index.php
I've tested it and GET works fine, but I don't get that the POST task working properly.
Regards!
Elena.
« Last Edit: January 19, 2012, 05:04:27 AM by gelenmb »

Offline Thiago Lima

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Checking HTTPS site status
« Reply #2 on: August 05, 2016, 07:38:22 AM »
Hi

You can build a script (using bash, python, perl, whatever you like) which uses Curl to check your SSL website not caring about the certificate and so on. With it you can get lots of information such as the response code (200, 404, 503 and so on), time total for the website to be loaded and many others. After that, register this script as a command on PandoraFMS.

A good starting point is for you to explore the following command line: curl -IksL -X GET -w '%{http_code}' --url 'https://www.google.com.br' | tail -n 1

Another good reference is the man page: http://linux.die.net/man/1/curl

I hope it helps. Regards.