a wrapper around curl to check a remote machine for issues