Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking HTTPS site status
#3
Hi

You can build a script (using bash, python, perl, whatever you like) which uses [i]Curl[/i] 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: [tt]curl -IksL -X GET -w '%{http_code}' --url 'https://www.google.com.br' | tail -n 1[/tt]

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

I hope it helps. Regards.
 Reply
Messages In This Thread
Checking HTTPS site status - by Morphius143 - 10-05-2011, 01:47 PM
Re: Checking HTTPS site status - by gelenmb - 01-19-2012, 12:57 PM
Re: Checking HTTPS site status - by thiagolima - 08-05-2016, 02:38 PM


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnol├│gicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes