Commit 5e350795 authored by Cédric Heintz's avatar Cédric Heintz
Browse files

added authentications capabilities for http checks

parent 3a4bb8df
......@@ -201,6 +201,8 @@ class CheckHTTP(Check):
command += ['-H', str(self._options['vhost'])]
if 'string' in self._options:
command += ['-s', str(self._options['string'])]
if 'auth' in self._options:
command += ['-a', str(self._options['auth'])]
if 'url' in self._options:
command += ['-u', str(self._options['url'])]
return command
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment