Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
arn
picomon
Commits
f2518496
Commit
f2518496
authored
Mar 13, 2019
by
Jonathan Michalon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-1' into 'master'
added authentications capabilities for http checks See merge request
!12
parents
3a4bb8df
5e350795
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
picomon/checks.py
picomon/checks.py
+2
-0
No files found.
picomon/checks.py
View file @
f2518496
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment