Skip to content

Instantly share code, notes, and snippets.

@maolopez
maolopez / monitoranyhttp
Last active February 9, 2017 01:38
Monitor any http by issuing a curl and creating a error log in case that http != 200
#!/bin/sh
location=$1
If [ -z "$location" ]
then
echo "please provide the location argument without http://"
exit
fi