Commit 3a4bb8df authored by Jonathan Michalon's avatar Jonathan Michalon
Browse files

Merge branch 'master' into 'master'

picomon/ fix missing parenthesis in CheckTLSCert().

See merge request arn/picomon!11
parents aa694e43 b66d5010
......@@ -314,7 +314,7 @@ class CheckTLSCert(Check):
def build_command(self):
command = ['/usr/lib/nagios/plugins/check_http',
'--ssl', '--sni',
'-C', str(self._options.get('warn', 7),
'-C', str(self._options.get('warn', 7)),
'-t', str(self.timeout)]
if 'port' in self._options:
command += ['-p', str(self._options['port'])]
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