Simple bash script using curl to check a website. It works on HTTP and HTTPS. Requirement: curl Usage ./check_http.sh Example: ./check_http.sh ‘http://oglobo.globo.com’ oglobo 1 OK – Site oglobo.globo.com key oglobo time 0.019 |’time’=0.019s;1 Here is the code: #!/bin/bash #Verificar um […]
check_ftp.php
Nagios plugin to verify a FTP site, by uploading a file and testing the time it takes. check_ftp.php #!/usr/bin/php