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
Cédric Heintz
picomon
Commits
b66d5010
Commit
b66d5010
authored
Aug 25, 2018
by
glucas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
picomon/checks.py: fix missing parenthesis in CheckTLSCert().
parent
aa694e43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
picomon/checks.py
picomon/checks.py
+1
-1
No files found.
picomon/checks.py
View file @
b66d5010
...
@@ -314,7 +314,7 @@ class CheckTLSCert(Check):
...
@@ -314,7 +314,7 @@ class CheckTLSCert(Check):
def
build_command
(
self
):
def
build_command
(
self
):
command
=
[
'/usr/lib/nagios/plugins/check_http'
,
command
=
[
'/usr/lib/nagios/plugins/check_http'
,
'--ssl'
,
'--sni'
,
'--ssl'
,
'--sni'
,
'-C'
,
str
(
self
.
_options
.
get
(
'warn'
,
7
),
'-C'
,
str
(
self
.
_options
.
get
(
'warn'
,
7
)
)
,
'-t'
,
str
(
self
.
timeout
)]
'-t'
,
str
(
self
.
timeout
)]
if
'port'
in
self
.
_options
:
if
'port'
in
self
.
_options
:
command
+=
[
'-p'
,
str
(
self
.
_options
[
'port'
])]
command
+=
[
'-p'
,
str
(
self
.
_options
[
'port'
])]
...
...
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